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
This commit is contained in:
silversurfer
2014-06-21 17:15:55 +00:00
parent dbc852ea74
commit 9419e1b8b9
+2
View File
@@ -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;
}
}
}