diff options
author | maedhros <maedhros@openttd.org> | 2007-02-28 17:18:36 +0000 |
---|---|---|
committer | maedhros <maedhros@openttd.org> | 2007-02-28 17:18:36 +0000 |
commit | aadd8a4b44e0f67e5a2ccb685a56fc258c1eb9ff (patch) | |
tree | 1d7abddc5b0568b06084eb248dba4886fdc92637 /src/openttd.cpp | |
parent | f865f0a44550f0433495e494c66928d4e9a82aad (diff) | |
download | openttd-aadd8a4b44e0f67e5a2ccb685a56fc258c1eb9ff.tar.xz |
(svn r8945) -Codechange: Rename v->load_status to v->vehicle_flags so it can be used for more than just the gradual loading status.
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r-- | src/openttd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |