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) {