| author | peter1138 |
| Tue, 20 Sep 2005 19:35:52 +0000 | |
| changeset 2441 | f1fbbbc0b5da |
| parent 2440 | d0c69700c72e |
| child 2442 | 341a127f3d8c |
| train_cmd.c | file | annotate | diff | comparison | revisions |
--- 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)