From 3e143ee3d2cda96cbaec75d929df961f6214b086 Mon Sep 17 00:00:00 2001 From: Nikos Barkas Date: Thu, 12 May 2011 21:56:16 +0000 Subject: [PATCH] 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 --- src/Core/Entities/PlayerEntity.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Entities/PlayerEntity.m b/src/Core/Entities/PlayerEntity.m index 4175f428..54bd184d 100644 --- a/src/Core/Entities/PlayerEntity.m +++ b/src/Core/Entities/PlayerEntity.m @@ -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; }