Adds better type support for pooled enumerables. Refactors code. (#16)
This commit is contained in:
parent
62b95f4d74
commit
b06f5bf60d
48 changed files with 252 additions and 243 deletions
|
|
@ -605,7 +605,7 @@ namespace Server.Mobiles
|
|||
|
||||
if ( Core.AOS )
|
||||
{
|
||||
IPooledEnumerable mobiles = Map.GetMobilesInRange( location, 0 );
|
||||
IPooledEnumerable<Mobile> mobiles = Map.GetMobilesInRange( location, 0 );
|
||||
|
||||
foreach ( Mobile m in mobiles )
|
||||
{
|
||||
|
|
@ -5175,4 +5175,4 @@ namespace Server.Mobiles
|
|||
m_AutoStabled.Clear();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue