Skip to content

Commit

Permalink
Update OnGossipSelect to OnGossipHello (#36)
Browse files Browse the repository at this point in the history
Co-authored-by: entropiccode <>
  • Loading branch information
entropiccode authored Aug 29, 2024
1 parent 580fef0 commit cf3e293
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/npc_buffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class BufferAnnounce : public PlayerScript
class buff_npc : public CreatureScript
{
public:
buff_npc() : CreatureScript("buff_npc") {}
buff_npc() : CreatureScript("buff_npc") { }

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

bool OnGossipSelect(Player* player, Creature* creature, uint32 /*uiSender*/, uint32 /* uiAction */)
// bool OnGossipSelect(Player* player, Creature* creature, uint32 /*uiSender*/, uint32 /* uiAction */) override
bool OnGossipHello(Player* player, Creature* creature)
{
if (!BFEnableModule)
{
Expand Down

0 comments on commit cf3e293

Please sign in to comment.