Skip to content

Commit 7bb1d75

Browse files
committed
[2979] Fix Ame01 aggro texts
Close #71
1 parent 4c019cd commit 7bb1d75

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

scripts/kalimdor/ungoro_crater.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ SDCategory: Un'Goro Crater
2222
EndScriptData */
2323

2424
/* ContentData
25+
npc_ame01
2526
npc_ringo
2627
EndContentData */
2728

@@ -81,9 +82,9 @@ struct MANGOS_DLL_DECL npc_ame01AI : public npc_escortAI
8182

8283
switch (urand(0, 2))
8384
{
84-
case 0: DoScriptText(SAY_AME_AGGRO1, m_creature); break;
85-
case 1: DoScriptText(SAY_AME_AGGRO2, m_creature); break;
86-
case 2: DoScriptText(SAY_AME_AGGRO3, m_creature); break;
85+
case 0: DoScriptText(SAY_AME_AGGRO1, m_creature, pWho); break;
86+
case 1: DoScriptText(SAY_AME_AGGRO2, m_creature, pWho); break;
87+
case 2: DoScriptText(SAY_AME_AGGRO3, m_creature, pWho); break;
8788
}
8889
}
8990
}

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

0 commit comments

Comments
 (0)