mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +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
|
// [RH] If the view is active, give the automap a chance at
|
||||||
// the events *last* so that any bound keys get precedence.
|
// 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 primaryLevel->automap->Responder (ev, true);
|
||||||
|
|
||||||
return (ev->type == EV_KeyDown ||
|
return (ev->type == EV_KeyDown ||
|
||||||
|
|
Loading…
Reference in a new issue