Mercurial > hg > openttd
changeset 11867:8bf4312f1a12 draft
(svn r16261) -Fix (r16260): Replace a space with a newline and a tab. (thanks smatz)
author | frosch <frosch@openttd.org> |
---|---|
date | Sat, 09 May 2009 14:23:19 +0000 |
parents | 1e159ef634d5 |
children | 4f029fd2d3e5 |
files | src/vehicle_base.h |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/vehicle_base.h +++ b/src/vehicle_base.h @@ -603,7 +603,8 @@ * 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);