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 | f92f3aec06203081ca8fadcbc5fb652e92bf8e30 (patch) | |
tree | 4c9dc0c05cd700da1675c02c334dcc834adf512c /src/aircraft_cmd.cpp | |
parent | 3ae50673a3e1e64a6038c53570c5ee168073e038 (diff) | |
download | openttd-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/aircraft_cmd.cpp')
-rw-r--r-- | src/aircraft_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aircraft_cmd.cpp b/src/aircraft_cmd.cpp index 221fdaca1..fb455d1b8 100644 --- a/src/aircraft_cmd.cpp +++ b/src/aircraft_cmd.cpp @@ -574,7 +574,7 @@ CommandCost CmdSendAircraftToHangar(TileIndex tile, uint32 flags, uint32 p1, uin * Note: the if is (true for requesting service == true for ordered to stop in hangar) */ 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(); |