diff options
author | truelight <truelight@openttd.org> | 2005-03-03 14:56:28 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2005-03-03 14:56:28 +0000 |
commit | ae4995c671f09185ccf5aa3e85653b2ac2d4583b (patch) | |
tree | a4420f3df7642246abd79f137128c150e466f73a | |
parent | 862faa16c0b075b0f2ba765a7a2eee86d34c62f0 (diff) | |
download | openttd-ae4995c671f09185ccf5aa3e85653b2ac2d4583b.tar.xz |
(svn r1920) -Fix: no longer a station where you only unload is bad for your town-rating
-rw-r--r-- | economy.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1360,6 +1360,8 @@ int LoadUnloadVehicle(Vehicle *v) if (v->cargo_count != 0) { if (v->cargo_source != last_visited && ge->waiting_acceptance & 0x8000) { // deliver goods to the station + st->time_since_unload = 0; + unloading_time += v->cargo_count; /* TTDBUG: bug in original TTD */ profit += DeliverGoods(v->cargo_count, v->cargo_type, v->cargo_source, last_visited, v->cargo_days); result |= 1; |