(svn r19360) -Add: [NewGRF] When the tractive effort of a road vehicle is not set, use a default value of 4C.
This commit is contained in:
@@ -81,6 +81,8 @@ Engine::Engine(VehicleType type, EngineID base)
|
||||
this->info.climates = 0x80;
|
||||
/* Set model life to maximum to make wagons available */
|
||||
this->info.base_life = 0xFF;
|
||||
/* Set road vehicle tractive effort to the default value */
|
||||
if (type == VEH_ROAD) this->u.road.tractive_effort = 0x4C;
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user