mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 20:20:40 +00:00
parent
7243c08379
commit
000c00dc91
2 changed files with 4 additions and 1 deletions
|
@ -42,6 +42,7 @@
|
|||
#include "m_joy.h"
|
||||
#include "vm.h"
|
||||
#include "cheathandler.h"
|
||||
#include "gamestate.h"
|
||||
|
||||
bool G_Responder(event_t* ev);
|
||||
|
||||
|
@ -70,6 +71,8 @@ void D_ProcessEvents (void)
|
|||
continue;
|
||||
if (ev->type == EV_DeviceChange)
|
||||
UpdateJoystickMenu(I_UpdateDeviceList());
|
||||
if (gamestate == GS_INTRO)
|
||||
continue;
|
||||
if (C_Responder (ev))
|
||||
continue; // console ate the event
|
||||
if (M_Responder (ev))
|
||||
|
|
|
@ -387,10 +387,10 @@ bool GameTicker()
|
|||
|
||||
void startmainmenu()
|
||||
{
|
||||
gamestate = GS_DEMOSCREEN;
|
||||
M_StartControlPanel(false);
|
||||
M_SetMenu(NAME_Mainmenu);
|
||||
FX_StopAllSounds();
|
||||
gamestate = GS_DEMOSCREEN;
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue