forked from mirror/OpenTTD
(svn r23947) -Feature: Timetabled maximum travel speeds for non-flying vehicles.
This commit is contained in:
@@ -2202,7 +2202,9 @@ void Vehicle::ShowVisualEffect() const
|
||||
}
|
||||
|
||||
max_speed = min(max_speed, t->gcache.cached_max_track_speed);
|
||||
max_speed = min(max_speed, this->current_order.max_speed);
|
||||
}
|
||||
if (this->type == VEH_ROAD || this->type == VEH_SHIP) max_speed = min(max_speed, this->current_order.max_speed * 2);
|
||||
|
||||
const Vehicle *v = this;
|
||||
|
||||
|
Reference in New Issue
Block a user