(svn r16633) -Codechange: remove checks for consistency of newpool

This commit is contained in:
smatz
2009-06-23 10:44:46 +00:00
parent a50ba1b8c1
commit 192b9bda7b
3 changed files with 0 additions and 60 deletions

View File

@@ -4446,14 +4446,8 @@ bool Train::Tick()
this->current_order_time++;
VehicleID index = this->index;
if (!TrainLocoHandler(this, false)) return false;
/* make sure vehicle wasn't deleted. */
assert(Vehicle::Get(index) == this);
assert(IsFrontEngine(this));
return TrainLocoHandler(this, true);
} else if (IsFreeWagon(this) && (this->vehstatus & VS_CRASHED)) {
/* Delete flooded standalone wagon chain */