diff options
Diffstat (limited to 'src/newgrf.cpp')
-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; } } |