Skip to content

Commit 1e03bcc

Browse files
committed
[s2836] Fix text id for Disciple of Naralex - Wailing Caverns
Thanks to @Grz3s (based on commit SD2[3111] - 6f5b58c) Signed-off-by: Xfurry <xfurry@scriptdev2.com>
1 parent 5ff7657 commit 1e03bcc

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

scripts/kalimdor/wailing_caverns/wailing_caverns.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ enum
4949
EMOTE_VISION = -1043011,
5050

5151
GOSSIP_ITEM_BEGIN = -3043000,
52+
TEXT_ID_BEGIN = 699,
5253
TEXT_ID_DISCIPLE = 698,
5354

5455
SPELL_MARK = 5232, // Buff before the fight. To be removed after 4.0.3
@@ -453,10 +454,10 @@ bool GossipHello_npc_disciple_of_naralex(Player* pPlayer, Creature* pCreature)
453454
if (m_pInstance && m_pInstance->GetData(TYPE_DISCIPLE) == SPECIAL)
454455
{
455456
pPlayer->ADD_GOSSIP_ITEM_ID(GOSSIP_ICON_CHAT, GOSSIP_ITEM_BEGIN, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 1);
456-
pPlayer->SEND_GOSSIP_MENU(TEXT_ID_DISCIPLE, pCreature->GetObjectGuid());
457+
pPlayer->SEND_GOSSIP_MENU(TEXT_ID_BEGIN, pCreature->GetObjectGuid());
457458
}
458459
else
459-
pPlayer->SEND_GOSSIP_MENU(pPlayer->GetGossipTextId(pCreature), pCreature->GetObjectGuid());
460+
pPlayer->SEND_GOSSIP_MENU(TEXT_ID_DISCIPLE, pCreature->GetObjectGuid());
460461

461462
return true;
462463
}

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 "s2835"
3+
#define SD2_REVISION_NR "s2836"
44
#endif // __SD2_REVISION_NR_H__

0 commit comments

Comments
 (0)