Changeset - r6752:700dd12294bd
[Not reviewed]
master
0 1 0
rubidium - 17 years ago 2007-05-30 13:27:56
rubidium@openttd.org
(svn r9987) -Fix [FS#818]: a train under a bridge could collide with a train on the bridge.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/train_cmd.cpp
Show inline comments
 
@@ -2724,7 +2724,7 @@ static void *FindTrainCollideEnum(Vehicl
 
			v != tcc->v_skip &&
 
			v->type == VEH_TRAIN &&
 
			v->u.rail.track != TRACK_BIT_DEPOT &&
 
			myabs(v->z_pos - tcc->v->z_pos) <= 6 &&
 
			myabs(v->z_pos - tcc->v->z_pos) < 6 &&
 
			myabs(v->x_pos - tcc->v->x_pos) < 6 &&
 
			myabs(v->y_pos - tcc->v->y_pos) < 6) {
 
		return v;
0 comments (0 inline, 0 general)