mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Forbid time compression if hostile civilians or bloodcats are in the sector. Otherwise all travelling squads are delayed over and over again.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6324 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1416,6 +1416,14 @@ BOOLEAN AllowedToTimeCompress( void )
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
// Flugente: no time compression if hostile civilians bloodcats are in the current sector.
|
||||
// Otherwise time progresses, but squad arrivals will be delayed as long as they still exist
|
||||
if ( HostileCiviliansPresent() || HostileBloodcatsPresent() )
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
#ifdef JA2UB
|
||||
//if the player hasnt been to the initial sector yet
|
||||
if( !GetSectorFlagStatus( gGameExternalOptions.ubDefaultArrivalSectorX, gGameExternalOptions.ubDefaultArrivalSectorY, 0, SF_HAS_ENTERED_TACTICAL ) ) //7, 8
|
||||
|
||||
Reference in New Issue
Block a user