From 7f57376f937dab95a094231eb987d8eb4f987d99 Mon Sep 17 00:00:00 2001 From: Shadooow Date: Sun, 17 Oct 2021 22:37:20 +0000 Subject: [PATCH] pressing ESC while map movement popup box opened will now cancel the box instead of leaving map into tactical mode git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9186 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Strategic/mapscreen.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Strategic/mapscreen.cpp b/Strategic/mapscreen.cpp index 8c34dd67..97bb3a93 100644 --- a/Strategic/mapscreen.cpp +++ b/Strategic/mapscreen.cpp @@ -7050,6 +7050,11 @@ void GetMapKeyboardInput( UINT32 *puiNewEvent ) fTeamPanelDirty = TRUE; fCharacterInfoPanelDirty = TRUE; } + else if (fShowMapScreenMovementList) + { + fShowMapScreenMovementList = FALSE; + CreateDestroyMovementBox(0, 0, 0); + } else { RequestTriggerExitFromMapscreen( MAP_EXIT_TO_TACTICAL );