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
This commit is contained in:
Sevenfm
2020-12-11 05:59:51 +00:00
parent 50f45bc2d9
commit c32f5c76da
+6
View File
@@ -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