(svn r17168) -Codechange: apply coding style to if and while statements

This commit is contained in:
smatz
2009-08-14 17:11:59 +00:00
parent 9c77b0ce5d
commit d64bdb138c
9 changed files with 10 additions and 10 deletions

View File

@@ -852,9 +852,9 @@ CommandCost CmdMoveOrder(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32
VehicleOrderID order_id = order->GetConditionSkipToOrder();
if (order_id == moving_order) {
order_id = target_order;
} else if(order_id > moving_order && order_id <= target_order) {
} else if (order_id > moving_order && order_id <= target_order) {
order_id--;
} else if(order_id < moving_order && order_id >= target_order) {
} else if (order_id < moving_order && order_id >= target_order) {
order_id++;
}
order->SetConditionSkipToOrder(order_id);