diff options
author | belugas <belugas@openttd.org> | 2008-03-27 17:06:35 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2008-03-27 17:06:35 +0000 |
commit | 3343586c84efde39ea15b681760a432546315053 (patch) | |
tree | 0fc133bb9beaeff73bab69a243205edfd3280db6 | |
parent | b88882c2fa46e65b399b73d4de647217d1ae8965 (diff) | |
download | openttd-3343586c84efde39ea15b681760a432546315053.tar.xz |
(svn r12449) -Feature[newGRF]: Add support for var A2/22 for action 7/9/D: Diificulty level
-rw-r--r-- | src/newgrf.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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; } } |