diff options
Diffstat (limited to 'src/vehicle_base.h')
-rw-r--r-- | src/vehicle_base.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vehicle_base.h b/src/vehicle_base.h index ca6666118..3805d7550 100644 --- a/src/vehicle_base.h +++ b/src/vehicle_base.h @@ -603,7 +603,8 @@ public: * Increments cur_order_index, keeps care of the wrap-around and invalidates the GUI. * Note: current_order is not invalidated. */ - void IncrementOrderIndex() { + void IncrementOrderIndex() + { this->cur_order_index++; if (this->cur_order_index >= this->GetNumOrders()) this->cur_order_index = 0; InvalidateVehicleOrder(this, 0); |