(svn r11963) -Fix(r11961): Forgot to specify the meaning of the magical 6 substraction

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
belugas 17 years ago
parent d6eaf1a11a
commit 9c16461c29

@ -4052,7 +4052,7 @@ static uint32 GetPatchVariable(uint8 param)
*/ */
case 0x13: { case 0x13: {
byte map_bits = 0; 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 log_Y = MapLogY() - 6;
byte max_edge = max(log_X, log_Y); byte max_edge = max(log_X, log_Y);

Loading…
Cancel
Save