fix retarded bug
This commit is contained in:
parent
21699b4394
commit
0fba903e3a
1 changed files with 2 additions and 11 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue