summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-03-13 22:05:29 +0000
committerfrosch <frosch@openttd.org>2011-03-13 22:05:29 +0000
commitd12c2dfa24e8cd71058a6099ede2d98f866fd408 (patch)
tree50116f53c0b6e3e9c96edeb6cce7cf6d1531701f /src/engine.cpp
parentcba6eb87c2493e9d86d37db865bb85817d451c80 (diff)
downloadopenttd-d12c2dfa24e8cd71058a6099ede2d98f866fd408.tar.xz
(svn r22250) -Cleanup (r16378): Engines poolitems do not need a flag for validness anymore. The pool knows that on its own.
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index fa51e7c59..f55b46c0f 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -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 */