mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +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
3bb2a50df4
commit
e4bb3f80b7
@ -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