This commit is contained in:
parent
1a02422299
commit
1990e43ed3
1 changed files with 4 additions and 0 deletions
|
|
@ -138,6 +138,10 @@ namespace Server.Regions
|
|||
if ( from is BaseCreature && ((BaseCreature)from).NoHouseRestrictions )
|
||||
{
|
||||
}
|
||||
else if ( from is BaseCreature && !((BaseCreature)from).Controlled ) // Untamed creatures cannot enter public houses
|
||||
{
|
||||
return false;
|
||||
}
|
||||
else if ( from is BaseCreature && ((BaseCreature)from).IsHouseSummonable && !(BaseCreature.Summoning || m_House.IsInside( oldLocation, 16 )) )
|
||||
{
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue