mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
- fixed RR was still generating input events when the game was paused.
This commit is contained in:
parent
77ad7dfb81
commit
1cce5d8de2
3 changed files with 5 additions and 5 deletions
|
@ -1041,7 +1041,7 @@ void G_DrawRooms(int32_t playerNum, int32_t smoothRatio)
|
|||
|
||||
if (RRRA && pPlayer->drug_mode > 0)
|
||||
{
|
||||
while (pPlayer->drug_timer < totalclock && !(pPlayer->gm & MODE_MENU) && !ud.pause_on)
|
||||
while (pPlayer->drug_timer < totalclock && !(pPlayer->gm & MODE_MENU) && !ud.pause_on && !GUICapture)
|
||||
{
|
||||
int aspect;
|
||||
if (pPlayer->drug_stat[0] == 0)
|
||||
|
@ -6001,7 +6001,7 @@ void G_HandleLocalKeys(void)
|
|||
}
|
||||
}
|
||||
|
||||
if (g_player[myconnectindex].ps->cheat_phase == 1 || (g_player[myconnectindex].ps->gm&(MODE_MENU|MODE_TYPE)))
|
||||
if (g_player[myconnectindex].ps->cheat_phase == 1 || (g_player[myconnectindex].ps->gm&(MODE_MENU|MODE_TYPE)) || GUICapture)
|
||||
return;
|
||||
|
||||
if (buttonMap.ButtonDown(gamefunc_See_Coop_View) && (GTFLAGS(GAMETYPE_COOPVIEW) || ud.recstat == 2))
|
||||
|
@ -7406,7 +7406,7 @@ MAIN_LOOP_RESTART:
|
|||
|
||||
do
|
||||
{
|
||||
if (ready2send == 0) break;
|
||||
if (ready2send == 0) break;
|
||||
Net_GetInput();
|
||||
|
||||
ototalclock += TICSPERFRAME;
|
||||
|
|
|
@ -1775,7 +1775,7 @@ void Net_GetInput(void)
|
|||
if (numplayers > 1)
|
||||
Net_GetPackets();
|
||||
|
||||
if (g_player[myconnectindex].movefifoend - movefifoplc >= 100)
|
||||
if (g_player[myconnectindex].movefifoend - movefifoplc >= 100 || GUICapture)
|
||||
return;
|
||||
|
||||
if (RRRA && g_player[myconnectindex].ps->on_motorcycle)
|
||||
|
|
|
@ -2635,7 +2635,7 @@ void RunLevel(void)
|
|||
faketimerhandler();
|
||||
if (LoadGameOutsideMoveLoop)
|
||||
{
|
||||
return;
|
||||
return; // Stop the game loop if a savegame was loaded from the menu.
|
||||
}
|
||||
|
||||
if (M_Active())
|
||||
|
|
Loading…
Reference in a new issue