summaryrefslogtreecommitdiff
path: root/src/train_cmd.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-01-17 00:51:18 +0000
committerfrosch <frosch@openttd.org>2010-01-17 00:51:18 +0000
commit707cf045f8703700887757ecfa4e309b61e2fd4f (patch)
treea41bf46b433b8aa266d42846facb80234176abff /src/train_cmd.cpp
parent2e9529aff3a94bbd77958244fbc56da278eb5204 (diff)
downloadopenttd-707cf045f8703700887757ecfa4e309b61e2fd4f.tar.xz
(svn r18841) -Fix (r16869): Default-waypoint was drawn incorrectly for monorail and maglev in the waypoint picker.
Diffstat (limited to 'src/train_cmd.cpp')
-rw-r--r--src/train_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp
index b5a24bfa4..56c006440 100644
--- a/src/train_cmd.cpp
+++ b/src/train_cmd.cpp
@@ -2946,7 +2946,7 @@ int Train::UpdateSpeed()
this->max_speed = this->GetCurrentMaxSpeed();
accel = this->GetAcceleration();
break;
- }
+ }
uint spd = this->subspeed + accel;
this->subspeed = (byte)spd;