summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-05-09 14:23:19 +0000
committerfrosch <frosch@openttd.org>2009-05-09 14:23:19 +0000
commitf8944cc9b3fb846ddd8d22bc5601bfeec26c5d6b (patch)
treec91af2e5e4a8fd91242aa52da7115634d6c1355d /src
parent677ea100b37b036d88e75f7fd27bcd9f79e6425d (diff)
downloadopenttd-f8944cc9b3fb846ddd8d22bc5601bfeec26c5d6b.tar.xz
(svn r16261) -Fix (r16260): Replace a space with a newline and a tab. (thanks smatz)
Diffstat (limited to 'src')
-rw-r--r--src/vehicle_base.h3
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);