changeset 8393:af0f266771cb draft

(svn r11963) -Fix(r11961): Forgot to specify the meaning of the magical 6 substraction
author belugas <belugas@openttd.org>
date Wed, 23 Jan 2008 17:40:37 +0000
parents ab6601cad472
children a6d82a62753c
files src/newgrf.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -4052,7 +4052,7 @@
 		 */
 		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);