From c32f5c76da47357517ac4ca199376a5167b45eba Mon Sep 17 00:00:00 2001 From: Sevenfm Date: Fri, 11 Dec 2020 05:59:51 +0000 Subject: [PATCH] VR r2698 fix: snitch assignments were not properly taking mercs out of vehicles (by anv) git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8918 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Strategic/Assignments.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Strategic/Assignments.cpp b/Strategic/Assignments.cpp index b137df75c..ed14a22ae 100644 --- a/Strategic/Assignments.cpp +++ b/Strategic/Assignments.cpp @@ -13429,6 +13429,9 @@ void SnitchSectorMenuBtnCallback( MOUSE_REGION * pRegion, INT32 iReason ) { if ( CanCharacterSpreadPropaganda( pSoldier ) ) { + // VR r2698 fix: snitch assignments were not properly taking mercs out of vehicles + pSoldier->bOldAssignment = pSoldier->bAssignment; + fShowSnitchSectorMenu = FALSE; // stop showing menu @@ -13459,6 +13462,9 @@ void SnitchSectorMenuBtnCallback( MOUSE_REGION * pRegion, INT32 iReason ) { if ( CanCharacterGatherInformation( pSoldier ) ) { + // VR r2698 fix: snitch assignments were not properly taking mercs out of vehicles + pSoldier->bOldAssignment = pSoldier->bAssignment; + fShowSnitchSectorMenu = FALSE; // stop showing menu