(svn r8945) -Codechange: Rename v->load_status to v->vehicle_flags so it can be used for more than just the gradual loading status.

This commit is contained in:
maedhros
2007-02-28 17:18:36 +00:00
parent b9e079cff3
commit 2f557f7dc0
8 changed files with 20 additions and 21 deletions

View File

@@ -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;
}