From aadd8a4b44e0f67e5a2ccb685a56fc258c1eb9ff Mon Sep 17 00:00:00 2001 From: maedhros Date: Wed, 28 Feb 2007 17:18:36 +0000 Subject: (svn r8945) -Codechange: Rename v->load_status to v->vehicle_flags so it can be used for more than just the gradual loading status. --- src/openttd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/openttd.cpp') diff --git a/src/openttd.cpp b/src/openttd.cpp index e34c30825..a80ac44b3 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -1799,9 +1799,9 @@ bool AfterLoadGame(void) * 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; } -- cgit v1.2.3-54-g00ecf