diff options
Diffstat (limited to 'src/train_cmd.cpp')
-rw-r--r-- | src/train_cmd.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index 8769f3aab..7462e91ef 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -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 */ |