7.0.33.1 support

thread-safety
This commit is contained in:
Mark Sturgill 2013-10-17 01:48:04 -07:00
parent 699fa3bdd8
commit ae8ded4a16
7 changed files with 261 additions and 129 deletions

View file

@ -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 )
{

View file

@ -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)