(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style

This commit is contained in:
skidd13
2007-11-19 21:32:20 +00:00
parent 71c4325c50
commit 5c31a973a1
32 changed files with 93 additions and 98 deletions

View File

@@ -341,7 +341,7 @@ void ChangeOwnershipOfPlayerItems(PlayerID old_player, PlayerID new_player)
/* Reset the ratings for the old player */
t->ratings[old_player] = 500;
CLRBIT(t->have_ratings, old_player);
ClrBit(t->have_ratings, old_player);
}
{
@@ -1425,7 +1425,7 @@ void VehiclePayment(Vehicle *front_v)
_current_player = front_v->owner;
/* At this moment loading cannot be finished */
CLRBIT(front_v->vehicle_flags, VF_LOADING_FINISHED);
ClrBit(front_v->vehicle_flags, VF_LOADING_FINISHED);
/* Start unloading in at the first possible moment */
front_v->load_unload_time_rem = 1;
@@ -1576,7 +1576,7 @@ static void LoadUnloadVehicle(Vehicle *v, int *cargo_left)
} else {
/* The order changed while unloading (unset unload/transfer) or the
* station does not accept goods anymore. */
CLRBIT(v->vehicle_flags, VF_CARGO_UNLOADING);
ClrBit(v->vehicle_flags, VF_CARGO_UNLOADING);
continue;
}
@@ -1590,7 +1590,7 @@ static void LoadUnloadVehicle(Vehicle *v, int *cargo_left)
completely_empty = false;
} else {
/* We have finished unloading (cargo count == 0) */
CLRBIT(v->vehicle_flags, VF_CARGO_UNLOADING);
ClrBit(v->vehicle_flags, VF_CARGO_UNLOADING);
}
continue;