diff options
author | rubidium <rubidium@openttd.org> | 2010-01-17 16:52:35 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-01-17 16:52:35 +0000 |
commit | 736c12f6ae31f2f2a47085df3f81631d1a7c9419 (patch) | |
tree | 224a42a396f01ba6cb8b7a6b2e247f6be7d205a1 | |
parent | fdf89f9e8ebddde50e67e0b79874c5c749116bc9 (diff) | |
download | openttd-736c12f6ae31f2f2a47085df3f81631d1a7c9419.tar.xz |
(svn r18848) -Fix (r18838): the original accelaration got broken
-rw-r--r-- | src/train_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index 56c006440..61f01891c 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -2941,7 +2941,7 @@ int Train::UpdateSpeed() switch (_settings_game.vehicle.train_acceleration_model) { default: NOT_REACHED(); - case TAM_ORIGINAL: accel = this->acceleration * (this->GetAccelerationStatus() == AM_BRAKE) ? -4 : 2; break; + case TAM_ORIGINAL: accel = this->acceleration * (this->GetAccelerationStatus() == AM_BRAKE ? -4 : 2); break; case TAM_REALISTIC: this->max_speed = this->GetCurrentMaxSpeed(); accel = this->GetAcceleration(); |