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:
parent
b4207bb73d
commit
57a1f9ef7e
@ -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];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user