mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Simplified ImprovedAutoFastForward feature (allows to accelerate only invisible enemies) (by sevenfm)
Now single option IMPROVED_AUTO_FAST_FORWARD=TRUE by default Removed options: AUTO_FAST_FORWARD_ENEMIES AUTO_FAST_FORWARD_MILITIA AUTO_FAST_FORWARD_CIVS AUTO_FAST_FORWARD_CREATURES ENEMY_CLOCK_SPEED_PERCENT Also a small fix (additional update of AutoFastForward status when soldier arrives at new gridno) git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7828 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -528,8 +528,6 @@ void BeginTeamTurn( UINT8 ubTeam )
|
||||
SetFastForwardMode( (ubTeam != OUR_TEAM) );
|
||||
}
|
||||
}
|
||||
if( !is_networked && ubTeam != OUR_TEAM )
|
||||
SetClockSpeedPercent(gGameExternalOptions.fEnemyClockSpeedPercent); // sevenfm: set clock speed for enemy turn
|
||||
|
||||
while( 1 )
|
||||
{
|
||||
@@ -1487,8 +1485,6 @@ void EndInterrupt( BOOLEAN fMarkInterruptOccurred )
|
||||
SetFastForwardMode( (gTacticalStatus.ubCurrentTeam != OUR_TEAM) );
|
||||
}
|
||||
}
|
||||
if( !is_networked && gTacticalStatus.ubCurrentTeam != OUR_TEAM )
|
||||
SetClockSpeedPercent(gGameExternalOptions.fEnemyClockSpeedPercent); // sevenfm: set clock speed for enemy turn
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user