mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 13:01:47 +00:00
- fixed crash when VM exception is raised during entering a level
This commit is contained in:
parent
e1b1df5ec3
commit
16fe0f3902
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