Change: Suppression now works in realtime outside of combat

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8584 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2018-07-22 15:40:35 +00:00
parent 9f940cd5a5
commit a59d799e03
+3 -4
View File
@@ -9237,9 +9237,9 @@ SOLDIERTYPE *InternalReduceAttackBusyCount( )
pTarget = MercPtrs[ pSoldier->ubTargetID ];
}
if ((gTacticalStatus.uiFlags & TURNBASED) && (gTacticalStatus.uiFlags & INCOMBAT))
// Flugente 18-07-22: commenting this out - it doesn't do harm in realtime, and is more realistic
//if ((gTacticalStatus.uiFlags & TURNBASED) && (gTacticalStatus.uiFlags & INCOMBAT))
{
// Check to see if anyone was suppressed
if (pTarget)
{
@@ -9249,8 +9249,7 @@ SOLDIERTYPE *InternalReduceAttackBusyCount( )
{
HandleSuppressionFire( NOBODY, ubID );
}
//HandleAfterShootingGuy( pSoldier, pTarget );
// suppression fire might cause the count to be increased, so check it again