From e58d6cbc63653aed6a24d95fc61dc6f6d7396a67 Mon Sep 17 00:00:00 2001 From: frosch Date: Tue, 8 Nov 2011 17:29:41 +0000 Subject: (svn r23158) -Feature: [NewGRF] Patch/setting variable 14. (rubidium) --- src/newgrf.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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; -- cgit v1.2.3-70-g09d2