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
This commit is contained in:
Eric Walch 2012-01-23 21:48:14 +00:00
parent 059c2ceede
commit 474ad5c990

View File

@ -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"];