summaryrefslogtreecommitdiff
path: root/newgrf.c
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-12-08 19:12:43 +0000
committerpeter1138 <peter1138@openttd.org>2006-12-08 19:12:43 +0000
commitd1c59110344d8fd0bae9abc5cc94adfa314626ba (patch)
treedb7e7e4cae0784f77be1cfd3648aab83261ff343 /newgrf.c
parent88f8d5d84d7e8641788494f549eee0a37418a734 (diff)
downloadopenttd-d1c59110344d8fd0bae9abc5cc94adfa314626ba.tar.xz
(svn r7436) -Codechange: Add action7/9/D variable 0x9A (-1)
Diffstat (limited to 'newgrf.c')
-rw-r--r--newgrf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/newgrf.c b/newgrf.c
index 9e4b55ec9..3eb372827 100644
--- a/newgrf.c
+++ b/newgrf.c
@@ -2218,6 +2218,9 @@ static uint32 GetParamVal(byte param, uint32 *cond_val)
case 0x92: /* Game mode */
return _game_mode;
+ case 0x9A: /* Always -1 */
+ return -1;
+
case 0x9D: /* TTD Platform, 00=TTDPatch, 01=OpenTTD */
return 1;