mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
- somehow lost two condition in previous commit, correct what is missing.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6387 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -175,12 +175,14 @@ void HandleTacticalEndTurn( )
|
||||
// decay AI warning values from corpses
|
||||
DecayRottingCorpseAIWarnings();
|
||||
|
||||
((gTacticalStatus.Team[ENEMY_TEAM].bTeamActive || gTacticalStatus.Team[MILITIA_TEAM].bTeamActive) ? (guiTurnCnt++) : (guiTurnCnt = 0));//dnl ch68 090913
|
||||
//Check for enemy pooling (add enemies if there happens to be more than the max in the
|
||||
//current battle. If one or more slots have freed up, we can add them now.
|
||||
AddPossiblePendingEnemiesToBattle();
|
||||
|
||||
AddPossiblePendingMilitiaToBattle();
|
||||
if(gGameExternalOptions.gfAllowReinforcements)//dnl ch68 100913
|
||||
{
|
||||
((gTacticalStatus.Team[ENEMY_TEAM].bTeamActive || gTacticalStatus.Team[MILITIA_TEAM].bTeamActive) ? (guiTurnCnt++) : (guiTurnCnt = 0));
|
||||
//Check for enemy pooling (add enemies if there happens to be more than the max in the
|
||||
//current battle. If one or more slots have freed up, we can add them now.
|
||||
AddPossiblePendingEnemiesToBattle();
|
||||
AddPossiblePendingMilitiaToBattle();
|
||||
}
|
||||
|
||||
// Loop through each active team and decay public opplist...
|
||||
// May want this done every few times too
|
||||
|
||||
Reference in New Issue
Block a user