Skip to content

Commit b8f99c2

Browse files
committed
[2864] Fix NPC Flag for Reginald Windsor
The flag is controlled by script, but if we remove it from DB errors will show up.
1 parent e4b7574 commit b8f99c2

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

scripts/eastern_kingdoms/stormwind_city.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,8 @@ struct MANGOS_DLL_DECL npc_reginald_windsorAI : public npc_escortAI, private Dia
568568
DialogueHelper(aMasqueradeDialogue)
569569
{
570570
m_pScriptedMap = (ScriptedMap*)m_creature->GetInstanceData();
571+
// Npc flag is controlled by script
572+
m_creature->RemoveFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_QUESTGIVER);
571573
InitializeDialogueHelper(m_pScriptedMap);
572574
Reset();
573575
}

sd2_revision_nr.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#ifndef __SD2_REVISION_NR_H__
22
#define __SD2_REVISION_NR_H__
3-
#define SD2_REVISION_NR "2863"
3+
#define SD2_REVISION_NR "2864"
44
#endif // __SD2_REVISION_NR_H__

0 commit comments

Comments
 (0)