Merge branch 'master' into jgrpp
# Conflicts: # src/lang/english_AU.txt # src/openttd.cpp # src/viewport_sprite_sorter_sse4.cpp
This commit is contained in:
@@ -76,6 +76,8 @@ Engine::Engine(VehicleType type, EngineID base)
|
||||
|
||||
/* Check if this base engine is within the original engine data range */
|
||||
if (base >= _engine_counts[type]) {
|
||||
/* 'power' defaults to zero, so we also have to default to 'wagon' */
|
||||
if (type == VEH_TRAIN) this->u.rail.railveh_type = RAILVEH_WAGON;
|
||||
/* Set model life to maximum to make wagons available */
|
||||
this->info.base_life = 0xFF;
|
||||
/* Set road vehicle tractive effort to the default value */
|
||||
|
Reference in New Issue
Block a user