mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-25 11:21:58 +01:00
Core/GameObject: Set SpellVisualID to capturePoint.SpellVisual1 when creating Capture Points (#22159)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user