diff options
author | skidd13 <skidd13@openttd.org> | 2007-11-20 14:11:19 +0000 |
---|---|---|
committer | skidd13 <skidd13@openttd.org> | 2007-11-20 14:11:19 +0000 |
commit | a91c2a4c395fc532ada8a097ff05b41d69d7ee3d (patch) | |
tree | 4c9dc0c05cd700da1675c02c334dcc834adf512c /src/ship_cmd.cpp | |
parent | eeaa348f8bfafae1a6e56b857a97d9d23577dcac (diff) | |
download | openttd-a91c2a4c395fc532ada8a097ff05b41d69d7ee3d.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.cpp | 2 |
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(); |