From bee4f04b13306159e3e5afb03b45cd9649307bad Mon Sep 17 00:00:00 2001 From: Jeremy Date: Sun, 15 Jul 2018 12:40:39 +0200 Subject: Core/GameObject: Set SpellVisualID to capturePoint.SpellVisual1 when creating Capture Points (#22159) --- src/server/game/Entities/GameObject/GameObject.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/server/game/Entities/GameObject/GameObject.cpp b/src/server/game/Entities/GameObject/GameObject.cpp index 09dcddf1649..d0a458a7946 100644 --- a/src/server/game/Entities/GameObject/GameObject.cpp +++ b/src/server/game/Entities/GameObject/GameObject.cpp @@ -360,6 +360,9 @@ bool GameObject::Create(uint32 entry, Map* map, Position const& pos, QuaternionD case GAMEOBJECT_TYPE_PHASEABLE_MO: SetByteValue(GAMEOBJECT_FLAGS, 1, m_goInfo->phaseableMO.AreaNameSet & 0xF); break; + case GAMEOBJECT_TYPE_CAPTURE_POINT: + SetUInt32Value(GAMEOBJECT_SPELL_VISUAL_ID, m_goInfo->capturePoint.SpellVisual1); + break; default: SetGoAnimProgress(animProgress); break; -- cgit v1.2.3