mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
[12026] Replace std containers of ObjectGuids with some predefined types
Based on patch by stfx Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
b607d6a3fd
commit
0e0a765312
27 changed files with 57 additions and 68 deletions
|
|
@ -155,7 +155,7 @@ void DynamicObject::Delete()
|
|||
void DynamicObject::Delay(int32 delaytime)
|
||||
{
|
||||
m_aliveDuration -= delaytime;
|
||||
for(AffectedSet::iterator iter = m_affected.begin(); iter != m_affected.end(); )
|
||||
for (GuidSet::iterator iter = m_affected.begin(); iter != m_affected.end(); )
|
||||
{
|
||||
Unit *target = GetMap()->GetUnit((*iter));
|
||||
if (target)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue