mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
- allow all keys to open the menu in Blood's demo loop.
This commit is contained in:
parent
744e4161f7
commit
a32bc350f1
2 changed files with 9 additions and 1 deletions
|
@ -287,8 +287,16 @@ void CDemo::ProcessKeys(void)
|
||||||
gViewIndex = connecthead;
|
gViewIndex = connecthead;
|
||||||
gView = &gPlayer[gViewIndex];
|
gView = &gPlayer[gViewIndex];
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
if (!M_Active())
|
||||||
|
{
|
||||||
|
M_StartControlPanel(true);
|
||||||
|
M_SetMenu(NAME_MainMenu);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
gInputMode = kInputGame;
|
gInputMode = kInputGame;
|
||||||
|
|
|
@ -965,7 +965,7 @@ SectorObjectSetupBounds(SECTOR_OBJECTp sop)
|
||||||
// sector
|
// sector
|
||||||
|
|
||||||
// place all sprites on list
|
// place all sprites on list
|
||||||
uint16_t sn;
|
int sn;
|
||||||
for (sn = 0; sn < (int)SIZ(sop->sp_num); sn++)
|
for (sn = 0; sn < (int)SIZ(sop->sp_num); sn++)
|
||||||
{
|
{
|
||||||
if (sop->sp_num[sn] == -1)
|
if (sop->sp_num[sn] == -1)
|
||||||
|
|
Loading…
Reference in a new issue