From dcfd72c7666fa6b88457bfbf412d4a17f7fcb629 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Fri, 6 Aug 2021 15:02:00 +0300 Subject: [PATCH] - fixed crash after change level failure https://forum.zdoom.org/viewtopic.php?t=72890 --- src/g_game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_game.cpp b/src/g_game.cpp index bfebb4f6b..fdbc18aa8 100644 --- a/src/g_game.cpp +++ b/src/g_game.cpp @@ -1014,7 +1014,7 @@ bool G_Responder (event_t *ev) { if (ST_Responder (ev)) return true; // status window ate it - if (!viewactive && primaryLevel->automap->Responder (ev, false)) + if (!viewactive && primaryLevel->automap && primaryLevel->automap->Responder (ev, false)) return true; // automap ate it } else if (gamestate == GS_FINALE)