Core/GameObject: Set SpellVisualID to capturePoint.SpellVisual1 when creating Capture Points (#22159)

This commit is contained in:
Jeremy
2018-07-15 12:40:39 +02:00
committed by Shauren
parent 7d353acde9
commit bee4f04b13

View File

@@ -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;