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

This commit is contained in:
skidd13
2007-11-20 14:11:19 +00:00
parent eeaa348f8b
commit a91c2a4c39
15 changed files with 29 additions and 34 deletions

View File

@@ -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();