(svn r10332) -Fix [FS#940]: ratings where also shown on drop-off stations.

This commit is contained in:
rubidium
2007-06-25 21:15:17 +00:00
parent c65c8f1cc9
commit 0dd445a827
2 changed files with 2 additions and 2 deletions

View File

@@ -1556,7 +1556,6 @@ static void LoadUnloadVehicle(Vehicle *v, int *cargo_left)
}
/* if last speed is 0, we treat that as if no vehicle has ever visited the station. */
ge->days_since_pickup = 0;
ge->last_speed = min(t, 255);
ge->last_age = _cur_year - u->build_year;
@@ -1594,6 +1593,7 @@ static void LoadUnloadVehicle(Vehicle *v, int *cargo_left)
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;