From 0fba903e3a3758553d9281e6eb16b7be209046dc Mon Sep 17 00:00:00 2001 From: mark Date: Fri, 28 Dec 2007 23:06:40 +0000 Subject: [PATCH] fix retarded bug --- Scripts/Multis/HousePlacement.cs | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/Scripts/Multis/HousePlacement.cs b/Scripts/Multis/HousePlacement.cs index 9f73aac10..7aecd46da 100644 --- a/Scripts/Multis/HousePlacement.cs +++ b/Scripts/Multis/HousePlacement.cs @@ -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;