(svn r22250) -Cleanup (r16378): Engines poolitems do not need a flag for validness anymore. The pool knows that on its own.
This commit is contained in:
@@ -85,8 +85,6 @@ Engine::Engine(VehicleType type, EngineID base)
|
||||
|
||||
/* Check if this base engine is within the original engine data range */
|
||||
if (base >= _engine_counts[type]) {
|
||||
/* Mark engine as valid anyway */
|
||||
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 */
|
||||
|
Reference in New Issue
Block a user