diff options
Diffstat (limited to 'src/i_timer.c')
-rw-r--r-- | src/i_timer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/i_timer.c b/src/i_timer.c index c1607e62..5fd7fba9 100644 --- a/src/i_timer.c +++ b/src/i_timer.c @@ -27,6 +27,7 @@ #include "SDL.h" #include "i_timer.h" +#include "doomdef.h" // // I_GetTime @@ -46,7 +47,7 @@ int I_GetTime (void) ticks -= basetime; - return (ticks * 35) / 1000; + return (ticks * TICRATE) / 1000; } // |