(svn r3488) Simplify the check in r3419
This commit is contained in:
		@@ -129,7 +129,7 @@ static void *EnsureNoVehicleProcZ(Vehicle *v, void *data)
 | 
			
		||||
	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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user