From ed1a2c954141f1618b659d147080aa666ba2d039 Mon Sep 17 00:00:00 2001 From: bjarni Date: Thu, 2 Mar 2006 21:27:20 +0000 Subject: [PATCH] (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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/variables.h b/variables.h index 5e0dda8acf..bfabba4cf4 100644 --- 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?