Removes implicit this.
This commit is contained in:
parent
04b4cfe75b
commit
83dcf536d8
533 changed files with 2804 additions and 2806 deletions
|
|
@ -17,8 +17,8 @@ namespace Server.Items
|
|||
|
||||
public override void OnDoubleClick( Mobile from )
|
||||
{
|
||||
Map map = this.Map;
|
||||
Point3D loc = this.Location;
|
||||
Map map = Map;
|
||||
Point3D loc = Location;
|
||||
|
||||
if ( Parent != null || Movable || IsLockedDown || IsSecure || map == null || map == Map.Internal )
|
||||
return;
|
||||
|
|
@ -47,12 +47,12 @@ namespace Server.Items
|
|||
|
||||
public void Unlink()
|
||||
{
|
||||
ISpawner se = this.Spawner;
|
||||
ISpawner se = Spawner;
|
||||
|
||||
if ( se != null )
|
||||
{
|
||||
this.Spawner.Remove( this );
|
||||
this.Spawner = null;
|
||||
Spawner.Remove( this );
|
||||
Spawner = null;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue