diff options
author | belugas <belugas@openttd.org> | 2008-01-23 17:40:37 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2008-01-23 17:40:37 +0000 |
commit | 9c16461c2980fe4ce5a9297ef434f6c4d7687bd8 (patch) | |
tree | e5f82be6b9f0194303a6ed3124225dc3c45b6c4d /src | |
parent | d6eaf1a11abd9439400e55cd5fd6aab8eb01a0b2 (diff) | |
download | openttd-9c16461c2980fe4ce5a9297ef434f6c4d7687bd8.tar.xz |
(svn r11963) -Fix(r11961): Forgot to specify the meaning of the magical 6 substraction
Diffstat (limited to 'src')
-rw-r--r-- | src/newgrf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp index c4e44df5a..f3a485f98 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -4052,7 +4052,7 @@ static uint32 GetPatchVariable(uint8 param) */ case 0x13: { byte map_bits = 0; - byte log_X = MapLogX() - 6; + byte log_X = MapLogX() - 6; // substraction is required to make the minimal size (64) zero based byte log_Y = MapLogY() - 6; byte max_edge = max(log_X, log_Y); |