mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user