Core/Spells: Fixed persistent area auras always spawning with no phase
This commit is contained in:
1 parent
30e6bcad3c
commit
1f807e7a99
1 file changed
+2
@@ -22,6 +22,7 @@
|
||||
#include "Log.h"
|
||||
#include "Map.h"
|
||||
#include "ObjectAccessor.h"
|
||||
#include "PhasingHandler.h"
|
||||
#include "Player.h"
|
||||
#include "SpellAuras.h"
|
||||
#include "SpellMgr.h"
|
||||
@@ -94,6 +95,7 @@ bool DynamicObject::CreateDynamicObject(ObjectGuid::LowType guidlow, Unit* caste
|
||||
}
|
||||
|
||||
WorldObject::_Create(guidlow, HighGuid::DynamicObject, caster->GetPhaseMask());
|
||||
PhasingHandler::InheritPhaseShift(this, caster);
|
||||
|
||||
SetEntry(spell->Id);
|
||||
SetObjectScale(1);
|
||||
|
||||
Reference in new issue
Block a user