This commit is contained in:
mark 2012-11-10 20:06:36 +00:00
parent 8ff1a903a0
commit 14873aaa3e
78 changed files with 360 additions and 231 deletions

View file

@ -1,6 +1,7 @@
using System;
using System.Collections;
using Server;
using Server.Factions;
using Server.Multis;
namespace Server.Items
@ -140,6 +141,9 @@ namespace Server.Items
{
if ( IsOpen )
{
if ( from is BaseFactionGuard )
return false;
if ( (from.Direction & Direction.Running) != 0 || (m_Boat != null && !m_Boat.Contains( from )) )
return true;