Changeset - r14286:0a4485999454
[Not reviewed]
master
0 1 0
rubidium - 14 years ago 2010-01-17 16:52:35
rubidium@openttd.org
(svn r18848) -Fix (r18838): the original accelaration got broken
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/train_cmd.cpp
Show inline comments
 
@@ -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();
0 comments (0 inline, 0 general)