Removes implicit this.
This commit is contained in:
parent
04b4cfe75b
commit
83dcf536d8
533 changed files with 2804 additions and 2806 deletions
|
|
@ -103,7 +103,7 @@ namespace Server.Items
|
|||
|
||||
public bool IsUsableBy( Mobile from, bool byLandlord, bool byBackpack, bool noOfferee, bool sendMessage )
|
||||
{
|
||||
if ( this.Deleted || !from.CheckAlive( sendMessage ) )
|
||||
if ( Deleted || !from.CheckAlive( sendMessage ) )
|
||||
return false;
|
||||
|
||||
if ( noOfferee && Offeree != null )
|
||||
|
|
@ -119,7 +119,7 @@ namespace Server.Items
|
|||
|
||||
if ( byLandlord && IsLandlord( from ) )
|
||||
{
|
||||
if ( from.Map != this.Map || !from.InRange( this, 5 ) )
|
||||
if ( from.Map != Map || !from.InRange( this, 5 ) )
|
||||
{
|
||||
if ( sendMessage )
|
||||
from.SendLocalizedMessage( 501853 ); // Target is too far away.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue