(svn r11030) -Revert r11016, Fix [FS#1178]: the way to determine whether a station should get goods was not done properly.

This commit is contained in:
rubidium
2007-09-01 08:04:08 +00:00
parent dc4c52a313
commit 766d6d420e
4 changed files with 13 additions and 3 deletions

View File

@@ -2169,6 +2169,16 @@ bool AfterLoadGame()
}
}
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;
}