Fixed Cargo Bay Extension not extending cargo space when bought.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1530 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Nikos Barkas 2008-03-31 21:15:57 +00:00
parent b4207bb73d
commit 57a1f9ef7e

View File

@ -5600,6 +5600,11 @@ static int last_outfitting_index;
[self setCompassMode:COMPASS_MODE_PLANET];
}
if ([equipmentKey isEqual:@"EQ_CARGO_BAY"])
{
max_cargo += extra_cargo;
}
[super addEquipmentItem:equipmentKey];
}