Skip to content

Commit cf3e293

Browse files
authored
Update OnGossipSelect to OnGossipHello (#36)
Co-authored-by: entropiccode <>
1 parent 580fef0 commit cf3e293

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/npc_buffer.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class BufferAnnounce : public PlayerScript
131131
class buff_npc : public CreatureScript
132132
{
133133
public:
134-
buff_npc() : CreatureScript("buff_npc") {}
134+
buff_npc() : CreatureScript("buff_npc") { }
135135

136136
/** Get the most level-appropriate spell from the chain,
137137
* based on character level compared to max level (MaxLevel)
@@ -226,7 +226,8 @@ class buff_npc : public CreatureScript
226226
return randMsg.c_str();
227227
}
228228

229-
bool OnGossipSelect(Player* player, Creature* creature, uint32 /*uiSender*/, uint32 /* uiAction */)
229+
// bool OnGossipSelect(Player* player, Creature* creature, uint32 /*uiSender*/, uint32 /* uiAction */) override
230+
bool OnGossipHello(Player* player, Creature* creature)
230231
{
231232
if (!BFEnableModule)
232233
{

0 commit comments

Comments
 (0)