From 993f3a204c67fa9719f7b57ddb4bade24873ba47 Mon Sep 17 00:00:00 2001 From: Wanne Date: Sun, 29 May 2011 10:14:10 +0000 Subject: [PATCH] - Reverted BUGZILLA #338 fix, because the fix lead to problems with enemy soldier opponent count o Now it should work again git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@4455 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Tactical/opplist.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tactical/opplist.cpp b/Tactical/opplist.cpp index 6e8e8704..ac358885 100644 --- a/Tactical/opplist.cpp +++ b/Tactical/opplist.cpp @@ -6949,9 +6949,10 @@ void RecalculateOppCntsDueToNoLongerNeutral( SOLDIERTYPE * pSoldier ) } if ( pOpponent->aiData.bOppList[pSoldier->ubID] == SEEN_CURRENTLY ) { + // WANNE: Chris, I reverted BUGZILLA #338 fix, because this leads to big problems on opponent count with enemies! // have to add to opponent's oppcount as well since we just became non-neutral //CHRISL: If we do this, Bloodcats get counted at opponents multiple times and never get removed from the OppCnt variable. - //AddOneOpponent( pOpponent ); + AddOneOpponent( pOpponent ); } } }