economy.c
changeset 1416 f3ac4388c069
parent 1415 e3877505327d
child 1538 c67f0386df1d
--- a/economy.c	Tue Mar 01 19:32:55 2005 +0000
+++ b/economy.c	Thu Mar 03 14:56:28 2005 +0000
@@ -1360,6 +1360,8 @@
 		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;