summaryrefslogtreecommitdiff
path: root/src/economy.cpp
diff options
context:
space:
mode:
authorskidd13 <skidd13@openttd.org>2007-11-19 21:32:20 +0000
committerskidd13 <skidd13@openttd.org>2007-11-19 21:32:20 +0000
commit5c31a973a1dae47f351d4dc9e0451b3341c400f8 (patch)
tree7d43b1e4a7bf1344b1d4cfb2dc2618720a0040e8 /src/economy.cpp
parent71c4325c50ae594a5adf01cac7c9e527b239cdcb (diff)
downloadopenttd-5c31a973a1dae47f351d4dc9e0451b3341c400f8.tar.xz
(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style
Diffstat (limited to 'src/economy.cpp')
-rw-r--r--src/economy.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/economy.cpp b/src/economy.cpp
index 72f69b698..63cc2d0db 100644
--- a/src/economy.cpp
+++ b/src/economy.cpp
@@ -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;