Fixes code according to modern code style. Fixes a few expression bugs.

This commit is contained in:
Kamron Batman 2018-09-15 09:58:51 -07:00
parent 89eea25e5f
commit 970fd563b2
3324 changed files with 441118 additions and 433755 deletions

View file

@ -20,19 +20,19 @@
namespace Server.ContextMenus
{
public class PaperdollEntry : ContextMenuEntry
{
private Mobile m_Mobile;
public class PaperdollEntry : ContextMenuEntry
{
private Mobile m_Mobile;
public PaperdollEntry( Mobile m ) : base( 6123, 18 )
{
m_Mobile = m;
}
public PaperdollEntry(Mobile m) : base(6123, 18)
{
m_Mobile = m;
}
public override void OnClick()
{
if ( m_Mobile.CanPaperdollBeOpenedBy( Owner.From ) )
m_Mobile.DisplayPaperdollTo( Owner.From );
}
}
public override void OnClick()
{
if (m_Mobile.CanPaperdollBeOpenedBy(Owner.From))
m_Mobile.DisplayPaperdollTo(Owner.From);
}
}
}