src/openttd.cpp
changeset 8011 8e95362021d5
parent 7971 c1b1fa49885a
child 8063 0e907a0b5add
--- a/src/openttd.cpp	Fri Aug 31 23:29:53 2007 +0000
+++ b/src/openttd.cpp	Sat Sep 01 08:04:08 2007 +0000
@@ -2169,6 +2169,16 @@
 		}
 	}
 
+	if (CheckSavegameVersion(74)) {
+		Station *st;
+		FOR_ALL_STATIONS(st) {
+			for (CargoID c = 0; c < NUM_CARGO; c++) {
+				st->goods[c].last_speed = 0;
+				if (st->goods[c].cargo.Count() != 0) SETBIT(st->goods[c].acceptance_pickup, GoodsEntry::PICKUP);
+			}
+		}
+	}
+
 
 	return true;
 }