mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
- 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
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user