Skip to content

Commit

Permalink
Stormwind: Fix Windsor not despawning after The Great Masquerade
Browse files Browse the repository at this point in the history
  • Loading branch information
insunaa committed Sep 18, 2024
1 parent 5964022 commit f4d0747
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -889,6 +889,7 @@ struct npc_reginald_windsorAI : public npc_escortAI, private DialogueHelper
m_creature->ClearAllReactives();
m_creature->SetImmobilizedState(true, true);
m_creature->SetStandState(UNIT_STAND_STATE_DEAD);
m_creature->SetUInt32Value(UNIT_FIELD_MOUNTDISPLAYID, 0);
break;
case SAY_PRESTOR_KEEP_14:
if (Creature* onyxia = m_scriptedMap->GetSingleCreatureFromStorage(NPC_PRESTOR))
Expand Down Expand Up @@ -941,6 +942,7 @@ struct npc_reginald_windsorAI : public npc_escortAI, private DialogueHelper
onyxia->SetFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_GOSSIP | UNIT_NPC_FLAG_QUESTGIVER);
// Allow creature to despawn
SetEscortPaused(false);
m_creature->Suicide();
break;
}
}
Expand Down

0 comments on commit f4d0747

Please sign in to comment.