(svn r18841) -Fix (r16869): Default-waypoint was drawn incorrectly for monorail and maglev in the waypoint picker.

This commit is contained in:
frosch
2010-01-17 00:51:18 +00:00
parent 2e9529aff3
commit 707cf045f8
2 changed files with 3 additions and 2 deletions

View File

@@ -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;