1
0
Fork 0

(svn r16261) -Fix (r16260): Replace a space with a newline and a tab. (thanks smatz)

release/1.0
frosch 2009-05-09 14:23:19 +00:00
parent 677ea100b3
commit f8944cc9b3
1 changed files with 2 additions and 1 deletions

View File

@ -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);