# HG changeset patch # User bjarni # Date 2006-03-02 21:27:20 # Node ID 571e90252f7ab8ea2c0acd6d4f53dac60caaa46f # Parent f4ac8ad8c3b9d6b7585a5f68d64222dd80c1df23 (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 diff --git a/variables.h b/variables.h --- a/variables.h +++ b/variables.h @@ -170,8 +170,8 @@ typedef struct Patches { 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?