mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 14:01:45 +00:00
- fixed crash when VM exception is raised during entering a level
This commit is contained in:
parent
97045ae8b2
commit
98c88d2b92
1 changed files with 1 additions and 1 deletions
|
@ -994,7 +994,7 @@ bool G_Responder (event_t *ev)
|
|||
// [RH] If the view is active, give the automap a chance at
|
||||
// the events *last* so that any bound keys get precedence.
|
||||
|
||||
if (gamestate == GS_LEVEL && viewactive)
|
||||
if (gamestate == GS_LEVEL && viewactive && primaryLevel->automap)
|
||||
return primaryLevel->automap->Responder (ev, true);
|
||||
|
||||
return (ev->type == EV_KeyDown ||
|
||||
|
|
Loading…
Reference in a new issue