summaryrefslogtreecommitdiff
path: root/newgrf_station.c
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-05-03 21:19:21 +0000
committerpeter1138 <peter1138@openttd.org>2006-05-03 21:19:21 +0000
commitbe5744ae508c1ad7baf6158d95a7a27d52656ac2 (patch)
tree4ff7fda6fa9e385a983ea98879ced8b6f2c6fb9c /newgrf_station.c
parentb4a254cd43915502d9c3a843aacb0c4d61ddf631 (diff)
downloadopenttd-be5744ae508c1ad7baf6158d95a7a27d52656ac2.tar.xz
(svn r4723) - Newstations: add TileIndex parameter to station resolver.
Diffstat (limited to 'newgrf_station.c')
-rw-r--r--newgrf_station.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newgrf_station.c b/newgrf_station.c
index 4bc410dd8..a141f275d 100644
--- a/newgrf_station.c
+++ b/newgrf_station.c
@@ -225,7 +225,7 @@ static const RealSpriteGroup *ResolveStationSpriteGroup(const SpriteGroup *spg,
}
}
-uint32 GetCustomStationRelocation(const StationSpec *statspec, const Station *st, byte ctype)
+SpriteID GetCustomStationRelocation(const StationSpec *statspec, const Station *st, TileIndex tile, byte ctype)
{
const RealSpriteGroup *rsg = ResolveStationSpriteGroup(statspec->spritegroup[ctype], st);
if (rsg == NULL) return 0;