mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
[10521] Fix iterator update, thanks to VladimirMangos
This commit is contained in:
parent
9f2e36c7f0
commit
cc16743074
2 changed files with 2 additions and 2 deletions
|
|
@ -179,7 +179,7 @@ void DynamicObject::Delay(int32 delaytime)
|
||||||
++iter;
|
++iter;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
m_affected.erase(iter);
|
m_affected.erase(iter++);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "10520"
|
#define REVISION_NR "10521"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue