7.0.33.1 support
thread-safety
This commit is contained in:
parent
699fa3bdd8
commit
ae8ded4a16
7 changed files with 261 additions and 129 deletions
|
|
@ -120,10 +120,7 @@ namespace Server.Commands
|
|||
if ( ns != null ) {
|
||||
if ( targ.CanSee( from ) )
|
||||
{
|
||||
if ( ns.StygianAbyss )
|
||||
ns.Send( new MobileIncoming( targ, from ) );
|
||||
else
|
||||
ns.Send( new MobileIncomingOld( targ, from ) );
|
||||
ns.Send(MobileIncoming.Create(ns, targ, from));
|
||||
|
||||
if ( ObjectPropertyList.Enabled )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2492,7 +2492,7 @@ namespace Server.Mobiles
|
|||
double val = double.MinValue;
|
||||
double theirVal;
|
||||
|
||||
IPooledEnumerable eable = map.GetMobilesInRange(m_Mobile.Location, iRange);
|
||||
IPooledEnumerable<Mobile> eable = map.GetMobilesInRange(m_Mobile.Location, iRange);
|
||||
|
||||
#if !Framework_4_0
|
||||
foreach (Mobile m in eable)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue