Removes implicit this.

This commit is contained in:
Kamron Batman 2018-09-14 12:56:58 -07:00
parent 04b4cfe75b
commit 83dcf536d8
533 changed files with 2804 additions and 2806 deletions

View file

@ -161,10 +161,10 @@ namespace Server.Items
public virtual bool ValidateUse( Mobile from, bool message )
{
if ( from.Deleted || this.Deleted )
if ( from.Deleted || Deleted )
return false;
if ( from.Map != this.Map || !from.InRange( this, 1 ) )
if ( from.Map != Map || !from.InRange( this, 1 ) )
{
if ( message )
from.SendLocalizedMessage( 500446 ); // That is too far away.

View file

@ -43,7 +43,7 @@ namespace Server.Items
{
int held = Math.Max( 0, Math.Min( m_Held, 100 ) );
this.Weight = 20 + ((held * 80) / 100);
Weight = 20 + ((held * 80) / 100);
}
public PotionKeg( Serial serial ) : base( serial )
@ -160,7 +160,7 @@ namespace Server.Items
else
number = 502258; // The keg is completely full.
this.LabelTo( from, number );
LabelTo( from, number );
}
public override void OnDoubleClick( Mobile from )