summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/newgrf.cpp4
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;
}
}