diff options
-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 b6461a6ce..f158f8b17 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -6202,6 +6202,10 @@ static uint32 GetPatchVariable(uint8 param) (log_X << 12) | (log_Y << 8) | (log_X + log_Y); } + /* The maximum height of the map. */ + case 0x14: + return MAX_TILE_HEIGHT; + default: grfmsg(2, "ParamSet: Unknown Patch variable 0x%02X.", param); return 0; |