train_cmd.c
changeset 2441 20ccbbcffa9b
parent 2436 177cb6a8339f
child 2451 9b4d7f92e4ea
--- a/train_cmd.c	Tue Sep 20 17:33:57 2005 +0000
+++ b/train_cmd.c	Tue Sep 20 19:35:52 2005 +0000
@@ -113,7 +113,7 @@
 		}
 
 		// 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)