diff options
author | yexo <yexo@openttd.org> | 2010-08-19 13:44:41 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-08-19 13:44:41 +0000 |
commit | 85740a02832c9c474833f929b4464eba06be66d3 (patch) | |
tree | 9e10d3039ec55bce24ceebffd0c4c949be1f45ee /src/ship_cmd.cpp | |
parent | 16be24e13acf17a3292b490196d301b5b1aa1056 (diff) | |
download | openttd-85740a02832c9c474833f929b4464eba06be66d3.tar.xz |
(svn r20559) -Fix [FS#4045]: make sure that all vehicles are build in the most northern depot/hangar tile
Diffstat (limited to 'src/ship_cmd.cpp')
-rw-r--r-- | src/ship_cmd.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ship_cmd.cpp b/src/ship_cmd.cpp index f2becb60f..4475a8e05 100644 --- a/src/ship_cmd.cpp +++ b/src/ship_cmd.cpp @@ -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; |