Fixed a bug where items from the Equip Ship screen menu, like Passenger Berth and pylon items removal, would appear on the status screen after having been selected.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1171 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
parent
bcc03fff2b
commit
e9dbb8d38e
@ -5220,7 +5220,7 @@ static int last_outfitting_index;
|
||||
ship_trade_in_factor = 100;
|
||||
|
||||
[self setGuiToEquipShipScreen:-1:-1];
|
||||
done = YES;
|
||||
return YES;
|
||||
}
|
||||
|
||||
if ([eq_key hasSuffix:@"MISSILE"] || [eq_key hasSuffix:@"MINE"])
|
||||
@ -5247,7 +5247,7 @@ static int last_outfitting_index;
|
||||
max_cargo -= 5;
|
||||
credits -= price;
|
||||
[self setGuiToEquipShipScreen:-1:-1];
|
||||
done = YES;
|
||||
return YES;
|
||||
}
|
||||
|
||||
if ([eq_key isEqual:@"EQ_PASSENGER_BERTH_REMOVAL"])
|
||||
@ -5256,7 +5256,7 @@ static int last_outfitting_index;
|
||||
max_cargo += 5;
|
||||
credits -= price;
|
||||
[self setGuiToEquipShipScreen:-1:-1];
|
||||
done = YES;
|
||||
return YES;
|
||||
}
|
||||
|
||||
if ([eq_key isEqual:@"EQ_MISSILE_REMOVAL"])
|
||||
@ -5279,7 +5279,7 @@ static int last_outfitting_index;
|
||||
}
|
||||
missiles = 0;
|
||||
[self setGuiToEquipShipScreen:-1:-1];
|
||||
done = YES;
|
||||
return YES;
|
||||
}
|
||||
|
||||
unsigned i;
|
||||
|
Loading…
x
Reference in New Issue
Block a user