mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-24 21:11:52 +00:00
- added check for M_IsAnimated to TryRunTics.
This commit is contained in:
parent
6f4dfd9a61
commit
6406427eb7
1 changed files with 1 additions and 5 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue