branch sync #2

This commit is contained in:
mark 2009-01-31 00:02:21 +00:00
parent 96a37544fd
commit 4e6256b8cd
39 changed files with 415 additions and 137 deletions

View file

@ -14,7 +14,8 @@ namespace Server.Multis
BadStatic,
BadItem,
NoSurface,
BadRegionHidden
BadRegionHidden,
BadRegionTemp
}
public class HousePlacement
@ -106,6 +107,9 @@ namespace Server.Multis
if ( !reg.AllowHousing( from, testPoint ) ) // Cannot place houses in dungeons, towns, treasure map areas etc
{
if ( reg.IsPartOf( typeof( TempNoHousingRegion ) ) )
return HousePlacementResult.BadRegionTemp;
if ( reg.IsPartOf( typeof( TreasureRegion ) ) )
return HousePlacementResult.BadRegionHidden;