summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
authorfonsinchen <fonsinchen@openttd.org>2013-06-08 20:47:59 +0000
committerfonsinchen <fonsinchen@openttd.org>2013-06-08 20:47:59 +0000
commit16307a8a6fe9df07fa03a0928abab8452b6d2c2d (patch)
treee52b7af1942a3d58d02e75d5c964c7e4601c4a55 /src/saveload
parentab8531ac9ce9715ee9c9c6bc4700fa86d9fe8e88 (diff)
downloadopenttd-16307a8a6fe9df07fa03a0928abab8452b6d2c2d.tar.xz
(svn r25337) -Fix: saving only 8 bits of 16 causes endianness problems
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/station_sl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/station_sl.cpp b/src/saveload/station_sl.cpp
index bad9ceb87..8b31cf3a4 100644
--- a/src/saveload/station_sl.cpp
+++ b/src/saveload/station_sl.cpp
@@ -226,7 +226,7 @@ static const SaveLoad _old_station_desc[] = {
static uint16 _waiting_acceptance;
static uint16 _cargo_source;
static uint32 _cargo_source_xy;
-static uint16 _cargo_days;
+static uint8 _cargo_days;
static Money _cargo_feeder_share;
static const SaveLoad _station_speclist_desc[] = {