Now can be crashed with other company's train.
(cherry picked from commit 66ce7057df27aeb276270fe4bdc31f68dc69add3)
This commit is contained in:

committed by
Jonathan G Rennison

parent
65b1586f98
commit
8c9e267edc
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user