From c2ccc871fc5d0a86064404c9c20969b9978a0258 Mon Sep 17 00:00:00 2001 From: Sevenfm Date: Tue, 4 May 2021 14:19:47 +0000 Subject: [PATCH] Fix for assertion failure when right clicking on merc assignment (by Shadooow). Bug description: http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=22776&goto=362743&#msg_362743 git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9001 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Strategic/mapscreen.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Strategic/mapscreen.cpp b/Strategic/mapscreen.cpp index afb06efe3..8171f63be 100644 --- a/Strategic/mapscreen.cpp +++ b/Strategic/mapscreen.cpp @@ -11012,6 +11012,8 @@ void TeamListAssignmentRegionBtnCallBack(MOUSE_REGION *pRegion, INT32 iReason ) bSelectedContractChar = -1; fPlotForHelicopter = FALSE; fPlotForMilitia = FALSE; + fShowAssignmentMenu = FALSE; + fShownAssignmentMenu = FALSE; // if not dead or POW, select his sector if( ( pSoldier->stats.bLife > 0 ) && ( pSoldier->bAssignment != ASSIGNMENT_POW ) )