From f888df9f5b76f2b3d828de354470f023fba3fb91 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 19 Aug 2020 20:38:36 +0200 Subject: [PATCH] - fixed screen resize actions to work outside the automap. --- source/exhumed/src/exhumed.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/exhumed/src/exhumed.cpp b/source/exhumed/src/exhumed.cpp index 496a41ba1..dec80d496 100644 --- a/source/exhumed/src/exhumed.cpp +++ b/source/exhumed/src/exhumed.cpp @@ -862,13 +862,13 @@ void CheckKeys() if (buttonMap.ButtonDown(gamefunc_Enlarge_Screen)) { buttonMap.ClearButton(gamefunc_Enlarge_Screen); - if (nMapMode) G_ChangeHudLayout(1); + if (!nMapMode) G_ChangeHudLayout(1); } if (buttonMap.ButtonDown(gamefunc_Shrink_Screen)) { buttonMap.ClearButton(gamefunc_Shrink_Screen); - if (nMapMode) G_ChangeHudLayout(-1); + if (!nMapMode) G_ChangeHudLayout(-1); } // go to 3rd person view?