(svn r16633) -Codechange: remove checks for consistency of newpool
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user