diff options
author | smatz <smatz@openttd.org> | 2009-06-23 10:44:46 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-06-23 10:44:46 +0000 |
commit | 192b9bda7b7405e2f71b1847430b744a67b923ef (patch) | |
tree | d1c020ddebade034db8ce91e8291c189f57f2869 /src/train_cmd.cpp | |
parent | a50ba1b8c1afc164cf14750d9c1a89dfec9dd25a (diff) | |
download | openttd-192b9bda7b7405e2f71b1847430b744a67b923ef.tar.xz |
(svn r16633) -Codechange: remove checks for consistency of newpool
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 */ |