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