(svn r20559) -Fix [FS#4045]: make sure that all vehicles are build in the most northern depot/hangar tile

This commit is contained in:
yexo
2010-08-19 13:44:41 +00:00
parent 16be24e13a
commit 85740a0283
5 changed files with 21 additions and 6 deletions

View File

@@ -613,6 +613,7 @@ bool Ship::Tick()
*/
CommandCost CmdBuildShip(TileIndex tile, DoCommandFlag flags, const Engine *e, uint16 data, Vehicle **ret)
{
tile = GetShipDepotNorthTile(tile);
if (flags & DC_EXEC) {
int x;
int y;