src/openttd.cpp
changeset 6501 1e95e8d993ff
parent 6498 aff910a05c6e
child 6516 ee6d057b9850
--- a/src/openttd.cpp	Wed Feb 28 17:06:22 2007 +0000
+++ b/src/openttd.cpp	Wed Feb 28 17:18:36 2007 +0000
@@ -1799,9 +1799,9 @@
 		 * loading again, even if it didn't actually load anything, so now the
 		 * amount of cargo that has been paid for is stored. */
 		FOR_ALL_VEHICLES(v) {
-			if (HASBIT(v->load_status, 2)) {
+			if (HASBIT(v->vehicle_flags, 2)) {
 				v->cargo_paid_for = v->cargo_count;
-				CLRBIT(v->load_status, 2);
+				CLRBIT(v->vehicle_flags, 2);
 			} else {
 				v->cargo_paid_for = 0;
 			}