From 3343586c84efde39ea15b681760a432546315053 Mon Sep 17 00:00:00 2001 From: belugas Date: Thu, 27 Mar 2008 17:06:35 +0000 Subject: (svn r12449) -Feature[newGRF]: Add support for var A2/22 for action 7/9/D: Diificulty level --- src/newgrf.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/newgrf.cpp b/src/newgrf.cpp index 37c1629e9..8ee2e059b 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -3555,6 +3555,10 @@ bool GetGlobalVariable(byte param, uint32 *value) return true; } + case 0x22: // difficulty level + *value = _opt.diff_level; + return true; + default: return false; } } -- cgit v1.2.3-70-g09d2