# HG changeset patch # User rubidium # Date 1187641762 0 # Node ID 774f46ff944499a220e46c2f7276ead530d0a48f # Parent 9f3c510f91716ef53cb1dd49ee725c4d8a36202d (svn r10953) -Fix [FS#1139, FS#1143]: stations would not get a rating when there were already two stations with a "more than default" rating as no cargo would be moved to the station to be picked up. diff -r 9f3c510f9171 -r 774f46ff9444 src/economy.cpp --- a/src/economy.cpp Sun Aug 19 21:51:36 2007 +0000 +++ b/src/economy.cpp Mon Aug 20 20:29:22 2007 +0000 @@ -1591,6 +1591,7 @@ /* if last speed is 0, we treat that as if no vehicle has ever visited the station. */ ge->last_speed = min(t, 255); ge->last_age = _cur_year - u->build_year; + ge->days_since_pickup = 0; /* If there's goods waiting at the station, and the vehicle * has capacity for it, load it on the vehicle. */ @@ -1626,7 +1627,6 @@ anything_loaded = true; ge->cargo.MoveTo(&v->cargo, cap, CargoList::MTA_CARGO_LOAD, st->xy); - ge->days_since_pickup = 0; unloading_time += cap; st->time_since_load = 0;