*Add m_duringRemoveFromWorld lock to prevent adding single target auras during or after remove from world process.

--HG--
branch : trunk
This commit is contained in:
QAston
2010-08-03 06:11:03 +02:00
parent 14827321bf
commit c5a9d3b463
5 changed files with 73 additions and 42 deletions
-2
View File
@@ -33,7 +33,6 @@ class Aura;
struct SpellEntry;
class SpellScript;
// These flags are used in client - server communication only
enum SpellCastTargetFlags
{
TARGET_FLAG_SELF = 0x00000000,
@@ -210,7 +209,6 @@ class SpellCastTargets
private:
uint32 m_targetMask;
uint32 m_intTargetFlags;
// objects (can be used at spell creating and after Update at casting
Unit *m_unitTarget;
GameObject *m_GOTarget;