From c5c57c79764850a8b1d849c3f206eba6c285f87a Mon Sep 17 00:00:00 2001 From: Flugente Date: Sun, 19 Apr 2015 09:24:27 +0000 Subject: [PATCH] Change: dynamic opionion: mercs only complain about retreat if the enemy was aware of them - otherwise they assume it was a sneaky operation, which won't be punished git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7820 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Strategic/Strategic Town Loyalty.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Strategic/Strategic Town Loyalty.cpp b/Strategic/Strategic Town Loyalty.cpp index 691e7bd07..625be01f8 100644 --- a/Strategic/Strategic Town Loyalty.cpp +++ b/Strategic/Strategic Town Loyalty.cpp @@ -2067,7 +2067,11 @@ void HandleLoyaltyImplicationsOfMercRetreat( INT8 bRetreatCode, INT16 sSectorX, } // Flugente: dynamic opinion: mercs retreated. Someone has to be blamed for this shameful defeat! - HandleDynamicOpinionRetreat(); + // only do this if the enemy actually noticed us - no need to punish the player for a successful stealth operation + if ( gTacticalStatus.Team[ENEMY_TEAM].bAwareOfOpposition ) + { + HandleDynamicOpinionRetreat(); + } }