mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-16 04:30:38 +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
|
g_gameUpdateAvgTime
|
||||||
= ((GAMEUPDATEAVGTIMENUMSAMPLES - 1.f) * g_gameUpdateAvgTime + g_gameUpdateTime) / ((float)GAMEUPDATEAVGTIMENUMSAMPLES);
|
= ((GAMEUPDATEAVGTIMENUMSAMPLES - 1.f) * g_gameUpdateAvgTime + g_gameUpdateTime) / ((float)GAMEUPDATEAVGTIMENUMSAMPLES);
|
||||||
|
|
||||||
G_DoCheats();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
G_DoCheats();
|
||||||
|
|
||||||
if (myplayer.gm & (MODE_EOL|MODE_RESTART))
|
if (myplayer.gm & (MODE_EOL|MODE_RESTART))
|
||||||
{
|
{
|
||||||
switch (G_EndOfLevel())
|
switch (G_EndOfLevel())
|
||||||
|
|
|
@ -7345,10 +7345,10 @@ MAIN_LOOP_RESTART:
|
||||||
if (g_gameUpdateAvgTime < 0.f)
|
if (g_gameUpdateAvgTime < 0.f)
|
||||||
g_gameUpdateAvgTime = g_gameUpdateTime;
|
g_gameUpdateAvgTime = g_gameUpdateTime;
|
||||||
g_gameUpdateAvgTime = ((GAMEUPDATEAVGTIMENUMSAMPLES-1.f)*g_gameUpdateAvgTime+g_gameUpdateTime)/((float) GAMEUPDATEAVGTIMENUMSAMPLES);
|
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))
|
if (g_player[myconnectindex].ps->gm & (MODE_EOL|MODE_RESTART))
|
||||||
{
|
{
|
||||||
switch (G_EndOfLevel())
|
switch (G_EndOfLevel())
|
||||||
|
|
Loading…
Reference in a new issue