diff options
author | rubidium <rubidium@openttd.org> | 2007-09-26 17:33:32 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-09-26 17:33:32 +0000 |
commit | a28b307c952fb4213ec75ad8db602235e84f934e (patch) | |
tree | db5465ed42e7375d69aaa2e0fec4c59e9d3083af /src/rail_cmd.cpp | |
parent | 80a3590bf57bc6b69b9f74baef7798ecd6f3e8de (diff) | |
download | openttd-a28b307c952fb4213ec75ad8db602235e84f934e.tar.xz |
(svn r11173) -Codechange: rename some callback enums so they are more uniform.
Diffstat (limited to 'src/rail_cmd.cpp')
-rw-r--r-- | src/rail_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp index c4f9dd1c1..a2f07fd5a 100644 --- a/src/rail_cmd.cpp +++ b/src/rail_cmd.cpp @@ -1518,7 +1518,7 @@ static void DrawTile_Track(TileInfo *ti) const Station* st = ComposeWaypointStation(ti->tile); uint gfx = 2; - if (HASBIT(statspec->callbackmask, CBM_CUSTOM_LAYOUT)) { + if (HASBIT(statspec->callbackmask, CBM_STATION_SPRITE_LAYOUT)) { uint16 callback = GetStationCallback(CBID_STATION_SPRITE_LAYOUT, 0, 0, statspec, st, ti->tile); if (callback != CALLBACK_FAILED) gfx = callback; } |