From 9419e1b8b99c2d71e2eda66c3723c746cb49a702 Mon Sep 17 00:00:00 2001 From: silversurfer Date: Sat, 21 Jun 2014 17:15:55 +0000 Subject: [PATCH] Bugfix: In tactical right-clicking on a merc portrait with the squad list open instead of minimap crashed the game. Inventory view only allows display of minimap therefore the view will now be reset to minimap whenever a merc portrait is right-clicked. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7285 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Tactical/Interface Panels.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tactical/Interface Panels.cpp b/Tactical/Interface Panels.cpp index 48c90d8cf..96e773be1 100644 --- a/Tactical/Interface Panels.cpp +++ b/Tactical/Interface Panels.cpp @@ -6355,6 +6355,8 @@ void MercFacePanelCallback( MOUSE_REGION * pRegion, INT32 iReason ) gfSwitchPanel = TRUE; gbNewPanel = SM_PANEL; gubNewPanelParam = (UINT8)ubSoldierID; + // silversurfer: This needs to be reset to TRUE because inventory view only allows radar screen to be displayed and not the squad list. + fRenderRadarScreen = TRUE; } } }