diff options
author | tron <tron@openttd.org> | 2005-01-05 13:32:03 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-01-05 13:32:03 +0000 |
commit | e4cf2ba1b304a0b424a50a6143243172b9c5264d (patch) | |
tree | b9a5829b3d37c53a2de48d1ef28960f41804f4dc /rail_gui.c | |
parent | 0a37e6202b4b2633ce0bf13ce3f71fdcfe8a8ce0 (diff) | |
download | openttd-e4cf2ba1b304a0b424a50a6143243172b9c5264d.tar.xz |
(svn r1386) Move TileIndexDiff to map.h
Move _tileoffs_by_dir to map.[ch] and encapsulate it in TileOffsByDir()
Diffstat (limited to 'rail_gui.c')
-rw-r--r-- | rail_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rail_gui.c b/rail_gui.c index 70e484a20..f80590e68 100644 --- a/rail_gui.c +++ b/rail_gui.c @@ -98,7 +98,7 @@ void CcRailDepot(bool success, uint tile, uint32 p1, uint32 p2) SndPlayTileFx(SND_20_SPLAT_2, tile); ResetObjectToPlace(); - tile += _tileoffs_by_dir[dir]; + tile += TileOffsByDir(dir); if (IS_TILETYPE(tile, MP_RAILWAY)) { PlaceExtraDepotRail(tile, _place_depot_extra[dir]); |