diff options
author | Jeremy <Golrag@users.noreply.github.com> | 2018-07-15 12:40:39 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2018-07-15 12:40:39 +0200 |
commit | bee4f04b13306159e3e5afb03b45cd9649307bad (patch) | |
tree | 7f20b8d3206813b8b666c5c2f8a58e103f84a165 /src | |
parent | 7d353acde9a6ed348d4ff77d934176623bfca46a (diff) |
Core/GameObject: Set SpellVisualID to capturePoint.SpellVisual1 when creating Capture Points (#22159)
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Entities/GameObject/GameObject.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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; |