summaryrefslogtreecommitdiff
path: root/src/newgrf_station.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-09-26 17:33:32 +0000
committerrubidium <rubidium@openttd.org>2007-09-26 17:33:32 +0000
commit127c7c9b0f7b7fcd3207c31260b0da2eb454dadb (patch)
treedb5465ed42e7375d69aaa2e0fec4c59e9d3083af /src/newgrf_station.cpp
parent01edaeec578bddb73b4513baf9d8bfe5f9a886b0 (diff)
downloadopenttd-127c7c9b0f7b7fcd3207c31260b0da2eb454dadb.tar.xz
(svn r11173) -Codechange: rename some callback enums so they are more uniform.
Diffstat (limited to 'src/newgrf_station.cpp')
-rw-r--r--src/newgrf_station.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_station.cpp b/src/newgrf_station.cpp
index 58fd69631..ce6195688 100644
--- a/src/newgrf_station.cpp
+++ b/src/newgrf_station.cpp
@@ -751,7 +751,7 @@ bool DrawStationTile(int x, int y, RailType railtype, Axis axis, StationClassID
relocation = GetCustomStationRelocation(statspec, NULL, INVALID_TILE);
- if (HASBIT(statspec->callbackmask, CBM_CUSTOM_LAYOUT)) {
+ if (HASBIT(statspec->callbackmask, CBM_STATION_SPRITE_LAYOUT)) {
uint16 callback = GetStationCallback(CBID_STATION_SPRITE_LAYOUT, 0x2110000, 0, statspec, NULL, INVALID_TILE);
if (callback != CALLBACK_FAILED) tile = callback;
}