mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r11963) -Fix(r11961): Forgot to specify the meaning of the magical 6 substraction
This commit is contained in:
parent
881b74e882
commit
ba1f3b4834
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user