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
commit7d2a1e5a693585f16ce7aba0ef27be60503c3c5b (patch)
tree1bc4842d50f3370526fd56bf5641416c637daabf /src
parent70266017216730aae51d0067c0801a5dfc27c312 (diff)
downloadopenttd-7d2a1e5a693585f16ce7aba0ef27be60503c3c5b.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: