Now can be crashed with other company's train.

(cherry picked from commit 66ce7057df27aeb276270fe4bdc31f68dc69add3)
This commit is contained in:
Yoonji Park
2016-01-22 07:33:26 +09:00
committed by Jonathan G Rennison
parent 65b1586f98
commit 8c9e267edc

View File

@@ -3007,9 +3007,6 @@ static Vehicle *FindTrainCollideEnum(Vehicle *v, void *data)
/* not a train or in depot */
if (v->type != VEH_TRAIN || Train::From(v)->track == TRACK_BIT_DEPOT) return NULL;
/* do not crash into trains of another company. */
if (v->owner != tcc->v->owner) return NULL;
/* get first vehicle now to make most usual checks faster */
Train *coll = Train::From(v)->First();