From 736c12f6ae31f2f2a47085df3f81631d1a7c9419 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 17 Jan 2010 16:52:35 +0000 Subject: (svn r18848) -Fix (r18838): the original accelaration got broken --- src/train_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/train_cmd.cpp') 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(); -- cgit v1.2.3-54-g00ecf