From 66aa41adef84c85aa8675d2d35fd09ee284a0ef0 Mon Sep 17 00:00:00 2001 From: Spoike Date: Sun, 3 Aug 2014 15:07:30 +0000 Subject: [PATCH] git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4716 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/qclib/progsint.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/qclib/progsint.h b/engine/qclib/progsint.h index 0b89e6f0a..24ab55a9f 100644 --- a/engine/qclib/progsint.h +++ b/engine/qclib/progsint.h @@ -473,7 +473,7 @@ pbool PDECL ED_ParseEval (pubprogfuncs_t *progfuncs, eval_t *eval, int type, con { struct timespec c; clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &c); - return (c.tv_sec*1000000000ull) + tc.tv_nsec; + return (c.tv_sec*1000000000ull) + c.tv_nsec; } static unsigned long long Sys_GetClockRate(void) {