summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2006-03-02 21:27:20 +0000
committerbjarni <bjarni@openttd.org>2006-03-02 21:27:20 +0000
commit8878ab2e9a042ed64ee2a117f7088cb0454a2731 (patch)
treee862fcdcdb8d6ed2414aeb4060c03c1ccae259a5
parent57aa648a0efef8be01319b2737e3d09c517365d8 (diff)
downloadopenttd-8878ab2e9a042ed64ee2a117f7088cb0454a2731.tar.xz
(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
-rw-r--r--variables.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/variables.h b/variables.h
index 5e0dda8ac..bfabba4cf 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?