summaryrefslogtreecommitdiff
path: root/src/ship_cmd.cpp
diff options
context:
space:
mode:
authorskidd13 <skidd13@openttd.org>2007-11-20 14:11:19 +0000
committerskidd13 <skidd13@openttd.org>2007-11-20 14:11:19 +0000
commitf92f3aec06203081ca8fadcbc5fb652e92bf8e30 (patch)
tree4c9dc0c05cd700da1675c02c334dcc834adf512c /src/ship_cmd.cpp
parent3ae50673a3e1e64a6038c53570c5ee168073e038 (diff)
downloadopenttd-f92f3aec06203081ca8fadcbc5fb652e92bf8e30.tar.xz
(svn r11485) -Codechange: Remove the doubled function ToggleBitT and rename the remaining to fit with the naming style
Diffstat (limited to 'src/ship_cmd.cpp')
-rw-r--r--src/ship_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ship_cmd.cpp b/src/ship_cmd.cpp
index 6983bef2f..99fe66200 100644
--- a/src/ship_cmd.cpp
+++ b/src/ship_cmd.cpp
@@ -1010,7 +1010,7 @@ CommandCost CmdSendShipToDepot(TileIndex tile, uint32 flags, uint32 p1, uint32 p
* Note: the if is (true for requesting service == true for ordered to stop in depot) */
if (flags & DC_EXEC) {
ClrBit(v->current_order.flags, OFB_PART_OF_ORDERS);
- TOGGLEBIT(v->current_order.flags, OFB_HALT_IN_DEPOT);
+ ToggleBit(v->current_order.flags, OFB_HALT_IN_DEPOT);
InvalidateWindowWidget(WC_VEHICLE_VIEW, v->index, STATUS_BAR);
}
return CommandCost();