disable webstatus and reports by default, remove commandproperty from Mobile.Account, fix house placement being blocked by boats in yard (oceanfront property :P)
This commit is contained in:
parent
eb90512129
commit
8dc37a24fd
4 changed files with 20 additions and 4 deletions
|
|
@ -319,7 +319,16 @@ namespace Server.Multis
|
|||
{
|
||||
Point2D yardPoint = yard[i];
|
||||
|
||||
IPooledEnumerable eable = map.GetMultiTilesAt( yardPoint.X, yardPoint.Y );
|
||||
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 );
|
||||
|
||||
foreach ( Tile[] tile in eable )
|
||||
{
|
||||
|
|
@ -333,7 +342,7 @@ namespace Server.Multis
|
|||
}
|
||||
}
|
||||
|
||||
eable.Free();
|
||||
eable.Free();*/
|
||||
}
|
||||
|
||||
return HousePlacementResult.Valid;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue