Changeset - r2932:cb493ba56383
[Not reviewed]
master
0 1 0
tron - 18 years ago 2006-01-30 16:57:47
tron@openttd.org
(svn r3488) Simplify the check in r3419
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
vehicle.c
Show inline comments
 
@@ -129,7 +129,7 @@ static void *EnsureNoVehicleProcZ(Vehicl
 
	const TileInfo *ti = data;
 

	
 
	if (v->tile != ti->tile || v->type == VEH_Disaster) return NULL;
 
	if (v->z_pos != ti->z && abs(ti->z - v->z_pos) >= 8) return NULL;
 
	if (!IS_INT_INSIDE(ti->z - v->z_pos, 0, 8)) return NULL;
 

	
 
	VehicleInTheWayErrMsg(v);
 
	return v;
0 comments (0 inline, 0 general)