- added check for M_IsAnimated to TryRunTics.

This commit is contained in:
Christoph Oelckers 2020-12-11 11:51:52 +01:00
parent 6f4dfd9a61
commit 6406427eb7

View file

@ -1851,11 +1851,7 @@ void TryRunTics (void)
int counts;
int numplaying;
// If paused, do not eat more CPU time than we need, because it
// will all be wasted anyway.
if (pauseext)
r_NoInterpolate = true;
bool doWait = cl_capfps || r_NoInterpolate /*|| netgame*/;
bool doWait = (cl_capfps || pauseext || (r_NoInterpolate && !M_IsAnimated() /*&& gamestate != GS_INTERMISSION && gamestate != GS_INTRO*/));
// get real tics
if (doWait)