generic explosion potion user list

whitespace
This commit is contained in:
Mark Sturgill 2013-10-24 15:22:56 -07:00
parent 2d60d61a6b
commit 1f3569aefc
2 changed files with 6 additions and 5 deletions

View file

@ -1,5 +1,6 @@
using System;
using System.Collections;
using System.Collections.Generic;
using Server;
using Server.Network;
using Server.Targeting;
@ -61,7 +62,9 @@ namespace Server.Items
private Timer m_Timer;
private ArrayList m_Users;
public List<Mobile> Users { get { return m_Users; } }
private List<Mobile> m_Users;
public override void Drink( Mobile from )
{
@ -80,7 +83,7 @@ namespace Server.Items
from.RevealingAction();
if ( m_Users == null )
m_Users = new ArrayList();
m_Users = new List<Mobile>();
if ( !m_Users.Contains( from ) )
m_Users.Add( from );
@ -231,7 +234,7 @@ namespace Server.Items
for ( int i = 0; m_Users != null && i < m_Users.Count; ++i )
{
Mobile m = (Mobile)m_Users[i];
Mobile m = m_Users[i];
ThrowTarget targ = m.Target as ThrowTarget;
if ( targ != null && targ.Potion == this )

View file

@ -29,8 +29,6 @@ namespace Server.Items
Amount = amount;
}
public override void OnDoubleClick( Mobile from )
{
if ( from.InRange( this.GetWorldLocation(), 2 ) )