Removes literal variables (#257)
This commit is contained in:
parent
580da8a0cc
commit
4d6e584b6c
359 changed files with 1306 additions and 1306 deletions
|
|
@ -113,7 +113,7 @@ namespace Server.Multis
|
|||
|
||||
var reg = Region.Find(testPoint, map);
|
||||
|
||||
if (!reg.AllowHousing(@from, testPoint)) // Cannot place houses in dungeons, towns, treasure map areas etc
|
||||
if (!reg.AllowHousing(from, testPoint)) // Cannot place houses in dungeons, towns, treasure map areas etc
|
||||
{
|
||||
if (reg.IsPartOf<TempNoHousingRegion>())
|
||||
{
|
||||
|
|
@ -426,9 +426,9 @@ namespace Server.Multis
|
|||
}
|
||||
}
|
||||
/*Point2D yardPoint = yard[i];
|
||||
|
||||
|
||||
IPooledEnumerable eable = map.GetMultiTilesAt( yardPoint.X, yardPoint.Y );
|
||||
|
||||
|
||||
foreach ( StaticTile[] tile in eable )
|
||||
{
|
||||
for ( int j = 0; j < tile.Length; ++j )
|
||||
|
|
@ -440,7 +440,7 @@ namespace Server.Multis
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
eable.Free();*/
|
||||
|
||||
return HousePlacementResult.Valid;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue