mirror of https://github.com/OpenTTD/OpenTTD
(svn r16261) -Fix (r16260): Replace a space with a newline and a tab. (thanks smatz)
parent
677ea100b3
commit
f8944cc9b3
|
@ -603,7 +603,8 @@ public:
|
||||||
* Increments cur_order_index, keeps care of the wrap-around and invalidates the GUI.
|
* Increments cur_order_index, keeps care of the wrap-around and invalidates the GUI.
|
||||||
* Note: current_order is not invalidated.
|
* Note: current_order is not invalidated.
|
||||||
*/
|
*/
|
||||||
void IncrementOrderIndex() {
|
void IncrementOrderIndex()
|
||||||
|
{
|
||||||
this->cur_order_index++;
|
this->cur_order_index++;
|
||||||
if (this->cur_order_index >= this->GetNumOrders()) this->cur_order_index = 0;
|
if (this->cur_order_index >= this->GetNumOrders()) this->cur_order_index = 0;
|
||||||
InvalidateVehicleOrder(this, 0);
|
InvalidateVehicleOrder(this, 0);
|
||||||
|
|
Loading…
Reference in New Issue