summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormaedhros <maedhros@openttd.org>2008-03-21 11:10:36 +0000
committermaedhros <maedhros@openttd.org>2008-03-21 11:10:36 +0000
commit9dffdaca0da111f5bd524b9d493c1c778207700b (patch)
tree1bc4842d50f3370526fd56bf5641416c637daabf /src
parent55dcd4f94d64b74ca03386b03c5754b544fc8148 (diff)
downloadopenttd-9dffdaca0da111f5bd524b9d493c1c778207700b.tar.xz
(svn r12388) -Fix (r12352): Callback 14 (station sprite layout) is a 15-bit callback.
Diffstat (limited to 'src')
-rw-r--r--src/newgrf_spritegroup.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_spritegroup.cpp b/src/newgrf_spritegroup.cpp
index 056d949a2..65e8f29e2 100644
--- a/src/newgrf_spritegroup.cpp
+++ b/src/newgrf_spritegroup.cpp
@@ -87,6 +87,7 @@ static inline bool Is8BitCallback(const ResolverObject *object)
switch (object->callback) {
/* All these functions are 15 bit callbacks */
+ case CBID_STATION_SPRITE_LAYOUT:
case CBID_VEHICLE_REFIT_CAPACITY:
case CBID_HOUSE_COLOUR:
case CBID_HOUSE_CARGO_ACCEPTANCE: