From f92f3aec06203081ca8fadcbc5fb652e92bf8e30 Mon Sep 17 00:00:00 2001 From: skidd13 Date: Tue, 20 Nov 2007 14:11:19 +0000 Subject: (svn r11485) -Codechange: Remove the doubled function ToggleBitT and rename the remaining to fit with the naming style --- src/roadveh_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/roadveh_cmd.cpp') diff --git a/src/roadveh_cmd.cpp b/src/roadveh_cmd.cpp index dd4b3f547..c153089e0 100644 --- a/src/roadveh_cmd.cpp +++ b/src/roadveh_cmd.cpp @@ -482,7 +482,7 @@ CommandCost CmdSendRoadVehToDepot(TileIndex tile, uint32 flags, uint32 p1, uint3 * 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(); -- cgit v1.2.3-70-g09d2