summaryrefslogtreecommitdiff
path: root/src/aircraft_cmd.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-06-23 10:44:46 +0000
committersmatz <smatz@openttd.org>2009-06-23 10:44:46 +0000
commit192b9bda7b7405e2f71b1847430b744a67b923ef (patch)
treed1c020ddebade034db8ce91e8291c189f57f2869 /src/aircraft_cmd.cpp
parenta50ba1b8c1afc164cf14750d9c1a89dfec9dd25a (diff)
downloadopenttd-192b9bda7b7405e2f71b1847430b744a67b923ef.tar.xz
(svn r16633) -Codechange: remove checks for consistency of newpool
Diffstat (limited to 'src/aircraft_cmd.cpp')
-rw-r--r--src/aircraft_cmd.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/aircraft_cmd.cpp b/src/aircraft_cmd.cpp
index 1ea69d5c6..c9264d165 100644
--- a/src/aircraft_cmd.cpp
+++ b/src/aircraft_cmd.cpp
@@ -2038,10 +2038,7 @@ bool Aircraft::Tick()
for (uint i = 0; i != 2; i++) {
/* stop if the aircraft was deleted */
- VehicleID index = this->index;
if (!AircraftEventHandler(this, i)) return false;
- assert(Vehicle::Get(index) == this);
- assert(IsNormalAircraft(this));
}
return true;