mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
fix: - alternative heli fuel system read the wrong parameters from Helicopter_Settings.INI
- when alternative heli fuel system was turned off the heli wouldn't refuel at all despite being at a refuel site git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7754 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -937,6 +937,12 @@ void ReFuelHelicopter( void )
|
||||
// reset hover time
|
||||
gubHelicopterHoverTime = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
// refuel instantly
|
||||
iTotalHeliDistanceSinceRefuel = 0;
|
||||
AddStrategicEvent( EVENT_HELICOPTER_REFUEL_FOR_A_MINUTE, GetWorldTotalMin(), 0 );
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user