diff options
author | frosch <frosch@openttd.org> | 2011-11-08 17:29:41 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-11-08 17:29:41 +0000 |
commit | e58d6cbc63653aed6a24d95fc61dc6f6d7396a67 (patch) | |
tree | 3ef04c1b1c6ba33ba6357501007235252efb8b96 /src/newgrf.cpp | |
parent | 7c7285ea9b1f9603a18f8b42de60e478058c3f15 (diff) | |
download | openttd-e58d6cbc63653aed6a24d95fc61dc6f6d7396a67.tar.xz |
(svn r23158) -Feature: [NewGRF] Patch/setting variable 14. (rubidium)
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 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; |