1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-07-14 08:05:24 +01:00

(svn r20561) -Fix: compiler warning

This commit is contained in:
rubidium 2010-08-19 14:26:41 +00:00
parent 55c1af9fb1
commit 1fe3ce9993

View File

@ -202,7 +202,7 @@ static inline DiagDirection GetShipDepotDirection(TileIndex t)
* @param tile One of the tiles of the ship depot. * @param tile One of the tiles of the ship depot.
* @return The northern tile of the depot. * @return The northern tile of the depot.
*/ */
static TileIndex GetShipDepotNorthTile(TileIndex t) static inline TileIndex GetShipDepotNorthTile(TileIndex t)
{ {
assert(IsShipDepot(t)); assert(IsShipDepot(t));
TileIndex tile2 = GetOtherShipDepotTile(t); TileIndex tile2 = GetOtherShipDepotTile(t);