Changeset - r2441:9b5bc4db6b36
[Not reviewed]
master
0 1 0
peter1138 - 19 years ago 2005-09-20 19:35:52
peter1138@openttd.org
(svn r2967) Fix: newgrf: Wagon speed limits don't apply for wagons with livery overrides. Fixes max speed in dbsetxl etc.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
train_cmd.c
Show inline comments
 
@@ -113,7 +113,7 @@ void TrainConsistChanged(Vehicle *v) {
 
		}
 

	
 
		// max speed is the minimum of the speed limits of all vehicles in the consist
 
		if (rvi_u->max_speed != 0)
 
		if (rvi_u->max_speed != 0 && !UsesWagonOverride(u))
 
			max_speed = min(rvi_u->max_speed, max_speed);
 

	
 
		// check the vehicle length (callback)
0 comments (0 inline, 0 general)