summaryrefslogtreecommitdiff
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
commit08e02d574f51c77d6a73af85a66fad066358ac77 (patch)
treedb7e7e4cae0784f77be1cfd3648aab83261ff343
parentee458a18582533195db0e85091ec498d47ae7a67 (diff)
downloadopenttd-08e02d574f51c77d6a73af85a66fad066358ac77.tar.xz
(svn r7436) -Codechange: Add action7/9/D variable 0x9A (-1)
-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;