mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 20:20:40 +00:00
- Duke3D & RR: Always process cheats even while paused.
* Resolves https://forum.zdoom.org/viewtopic.php?f=340&t=68961
This commit is contained in:
parent
35471ce7e2
commit
7b3ad35cc2
2 changed files with 4 additions and 4 deletions
|
@ -5859,10 +5859,10 @@ MAIN_LOOP_RESTART:
|
|||
|
||||
g_gameUpdateAvgTime
|
||||
= ((GAMEUPDATEAVGTIMENUMSAMPLES - 1.f) * g_gameUpdateAvgTime + g_gameUpdateTime) / ((float)GAMEUPDATEAVGTIMENUMSAMPLES);
|
||||
|
||||
G_DoCheats();
|
||||
}
|
||||
|
||||
G_DoCheats();
|
||||
|
||||
if (myplayer.gm & (MODE_EOL|MODE_RESTART))
|
||||
{
|
||||
switch (G_EndOfLevel())
|
||||
|
|
|
@ -7345,10 +7345,10 @@ MAIN_LOOP_RESTART:
|
|||
if (g_gameUpdateAvgTime < 0.f)
|
||||
g_gameUpdateAvgTime = g_gameUpdateTime;
|
||||
g_gameUpdateAvgTime = ((GAMEUPDATEAVGTIMENUMSAMPLES-1.f)*g_gameUpdateAvgTime+g_gameUpdateTime)/((float) GAMEUPDATEAVGTIMENUMSAMPLES);
|
||||
|
||||
G_DoCheats();
|
||||
}
|
||||
|
||||
G_DoCheats();
|
||||
|
||||
if (g_player[myconnectindex].ps->gm & (MODE_EOL|MODE_RESTART))
|
||||
{
|
||||
switch (G_EndOfLevel())
|
||||
|
|
Loading…
Reference in a new issue