(svn r3739) -Fix: [Big endian CPUs] fixed bug introduced in rev 3720 where BE computers would read insane map sizes and crash as a result
authorbjarni
Thu, 02 Mar 2006 21:27:20 +0000
changeset 3126 b609a98e32a5
parent 3125 f4a655a6f639
child 3127 c734d50ad134
(svn r3739) -Fix: [Big endian CPUs] fixed bug introduced in rev 3720 where BE computers would read insane map sizes and crash as a result
variables.h
--- a/variables.h	Thu Mar 02 14:45:35 2006 +0000
+++ b/variables.h	Thu Mar 02 21:27:20 2006 +0000
@@ -170,8 +170,8 @@
 	byte wait_oneway_signal;	//waitingtime in days before a oneway signal
 	byte wait_twoway_signal;	//waitingtime in days before a twoway signal
 
-	uint map_x; // Size of map
-	uint map_y;
+	uint8 map_x; // Size of map
+	uint8 map_y;
 
 	byte drag_signals_density; // many signals density
 	bool ainew_active;  // Is the new AI active?