Fix display bug with shipyard screen when moving between pages

This commit is contained in:
cim 2014-06-04 19:28:18 +01:00
parent f7db4c9be6
commit 096320ee6b

View File

@ -1789,6 +1789,8 @@ static NSMutableDictionary *currentShipyard = nil;
if (fromShip == 0)
{
[[UNIVERSE gui] setSelectedRow:GUI_ROW_SHIPYARD_START + MAX_ROWS_SHIPS_FOR_SALE - 1];
// next bit or the first ship on the list gets wrongly previewed
[UNIVERSE removeDemoShips];
}
return YES;
}