Fixed bug #18097 (Fuel indicator not drawn correctly in interstellar space).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4551 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
parent
774c4b922b
commit
3e143ee3d2
@ -3065,7 +3065,7 @@ static bool minShieldLevelPercentageInitialised = false;
|
||||
|
||||
- (GLfloat) dialHyperRange
|
||||
{
|
||||
if (equal_seeds(target_system_seed, system_seed)) return 0.0f;
|
||||
if (equal_seeds(target_system_seed, system_seed) && ![UNIVERSE inInterstellarSpace]) return 0.0f;
|
||||
return [self fuelRequiredForJump] / (GLfloat)PLAYER_MAX_FUEL;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user