fix retarded bug

This commit is contained in:
mark 2007-12-28 23:06:40 +00:00
parent 21699b4394
commit 0fba903e3a

View file

@ -320,16 +320,7 @@ namespace Server.Multis
{
Point2D yardPoint = yard[i];
Sector sector = map.GetSector( yardPoint );
foreach ( BaseMulti multi in sector.Multis ) {
if ( multi is BaseBoat )
continue;
return HousePlacementResult.BadStatic; // Broke rule #3
}
/*IPooledEnumerable eable = map.GetMultiTilesAt( yardPoint.X, yardPoint.Y );
IPooledEnumerable eable = map.GetMultiTilesAt( yardPoint.X, yardPoint.Y );
foreach ( Tile[] tile in eable )
{
@ -343,7 +334,7 @@ namespace Server.Multis
}
}
eable.Free();*/
eable.Free();
}
return HousePlacementResult.Valid;