summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2008-02-03 00:24:53 +0000
committerbelugas <belugas@openttd.org>2008-02-03 00:24:53 +0000
commite5de785e1d5c464d38b46e01da742245be0b41fc (patch)
tree79d985c0c2516a09dfcf8d1a8177d565db18319f /src
parentbdadefd0d23d2c7cd1f84ba2545162b8bc3ddacf (diff)
downloadopenttd-e5de785e1d5c464d38b46e01da742245be0b41fc.tar.xz
(svn r12045) -Feature-ette(newGRF): Add support for var 12, Variational Action 2
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 e4222628d..6b77fbda8 100644
--- a/src/newgrf_spritegroup.cpp
+++ b/src/newgrf_spritegroup.cpp
@@ -92,6 +92,7 @@ static inline uint32 GetVariable(const ResolverObject *object, byte variable, by
case 0x0C: return object->callback;
case 0x10: return object->callback_param1;
case 0x11: return 0;
+ case 0x12: return _game_mode;
case 0x18: return object->callback_param2;
case 0x1A: return UINT_MAX;
case 0x1B: return GB(_display_opt, 0, 6);