mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Space Viking's many mercs changes plus numerous generic bug fixes
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2498 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -314,7 +314,7 @@ BOOLEAN HandleHeliEnteringSector( INT16 sX, INT16 sY )
|
||||
if ( DoesSkyriderNoticeEnemiesInSector( ubNumEnemies ) == TRUE )
|
||||
{
|
||||
// if just passing through (different quotes are used below if it's his final destination)
|
||||
if( !EndOfHelicoptersPath( ) )
|
||||
if( !EndOfHelicoptersPath( ) && gGameSettings.fOptions[ TOPTION_SILENT_SKYRIDER ] == FALSE )
|
||||
{
|
||||
// stop time compression and inform player that there are enemies in the sector below
|
||||
StopTimeCompression();
|
||||
@@ -358,7 +358,7 @@ BOOLEAN HandleHeliEnteringSector( INT16 sX, INT16 sY )
|
||||
{
|
||||
// if he has passengers, or he's not going straight to base, tell player he's arrived
|
||||
// (i.e. don't say anything nor stop time compression if he's empty and just returning to base)
|
||||
if ( ( GetNumberOfPassengersInHelicopter() > 0 ) || !fHeliReturnStraightToBase )
|
||||
if ( ( GetNumberOfPassengersInHelicopter() > 0 ) /*|| !fHeliReturnStraightToBase*/ )
|
||||
{
|
||||
// arrived at destination
|
||||
if(gGameSettings.fOptions[ TOPTION_SILENT_SKYRIDER ] == FALSE) HeliCharacterDialogue( pSkyRider, ARRIVED_IN_NON_HOSTILE_SECTOR );
|
||||
|
||||
Reference in New Issue
Block a user