diff options
author | rubidium <rubidium@openttd.org> | 2007-06-25 21:15:17 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-25 21:15:17 +0000 |
commit | 3c3c02d0fb0a78c2d71fd577baa7dcf212d834a4 (patch) | |
tree | e9d80ab995f2d55b3712ee1f069427f6bc750f57 /src/economy.cpp | |
parent | 4af9ca5335903e72dfbc13fb00be4d747302560b (diff) | |
download | openttd-3c3c02d0fb0a78c2d71fd577baa7dcf212d834a4.tar.xz |
(svn r10332) -Fix [FS#940]: ratings where also shown on drop-off stations.
Diffstat (limited to 'src/economy.cpp')
-rw-r--r-- | src/economy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/economy.cpp b/src/economy.cpp index e0e4269d5..e92125146 100644 --- a/src/economy.cpp +++ b/src/economy.cpp @@ -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; |