/source/sw/src/game.cpp |
---|
2251,7 → 2251,7 |
handleevents(); |
OSD_DispatchQueued(); |
if (quitevent) QuitFlag = TRUE; |
if (quitevent) CON_Quit(); |
// taken from top of faketimerhandler |
// limits checks to max of 40 times a second |
3204,7 → 3204,7 |
handleevents(); |
OSD_DispatchQueued(); |
if (quitevent) QuitFlag = TRUE; |
if (quitevent) CON_Quit(); |
//MONO_PRINT("Before MoveLoop"); |
MoveLoop(); |
/source/sw/src/game.h |
---|
863,6 → 863,7 |
SWBOOL CON_AddCommand(const char *command, void (*function)(void)); |
void CON_ProcessUserCommand(void); |
void CON_InitConsole(void); |
void CON_Quit(void); |
/////////////////////////////////////////////////////////////////////////////////////////// |
// |
/source/sw/src/menus.cpp |
---|
2094,10 → 2094,7 |
if (KB_KeyPressed(sc_Y) || KB_KeyPressed(sc_Enter) || mnu_input.button0) |
{ |
if (CommPlayers >= 2) |
MultiPlayQuitFlag = TRUE; |
else |
QuitFlag = TRUE; |
CON_Quit(); |
ExitMenus(); |
} |