mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-04 05:15:21 +00:00
(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:
parent
3e23b72e30
commit
d7f7c8949f
@ -81,6 +81,8 @@ Engine::Engine(VehicleType type, EngineID base)
|
|||||||
this->info.climates = 0x80;
|
this->info.climates = 0x80;
|
||||||
/* Set model life to maximum to make wagons available */
|
/* Set model life to maximum to make wagons available */
|
||||||
this->info.base_life = 0xFF;
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user