From 474ad5c990f7d47001c5b828ac6f98d21f1ee046 Mon Sep 17 00:00:00 2001 From: Eric Walch Date: Mon, 23 Jan 2012 21:48:14 +0000 Subject: [PATCH] Fixed a problem with the shipyard screen when a ship with chance=1 defined none-installed optional equipment. (e.g. equipment from an other oxp that was currently not installed). When there are no problems this fix will be ported to 1.76 maintenance. git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4750 127b21dd-08f5-0310-b4b7-95ae10353056 --- src/Core/Universe.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Core/Universe.m b/src/Core/Universe.m index 1bb8eab2..27fa1072 100644 --- a/src/Core/Universe.m +++ b/src/Core/Universe.m @@ -7586,6 +7586,11 @@ static double estimatedTimeForJourney(double distance, int hops) } } } + else + { + [options removeObject:equipmentKey]; + } + } // i18n: Some languages require that no conversion to lower case string takes place. BOOL lowercaseIgnore = [[self descriptions] oo_boolForKey:@"lowercase_ignore"];