- allow all keys to open the menu in Blood's demo loop.

This commit is contained in:
Christoph Oelckers 2020-02-10 20:33:48 +01:00
parent 744e4161f7
commit a32bc350f1
2 changed files with 9 additions and 1 deletions

View file

@ -287,7 +287,15 @@ void CDemo::ProcessKeys(void)
gViewIndex = connecthead;
gView = &gPlayer[gViewIndex];
break;
default:
if (!M_Active())
{
M_StartControlPanel(true);
M_SetMenu(NAME_MainMenu);
}
}
}
break;
default:

View file

@ -965,7 +965,7 @@ SectorObjectSetupBounds(SECTOR_OBJECTp sop)
// sector
// place all sprites on list
uint16_t sn;
int sn;
for (sn = 0; sn < (int)SIZ(sop->sp_num); sn++)
{
if (sop->sp_num[sn] == -1)