Skip to content

Commit c87f5b4

Browse files
committed
Clean up previous gossip fix
1 parent 31a7e77 commit c87f5b4

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/server/game/Handlers/NPCHandler.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -186,13 +186,9 @@ void WorldSession::HandleGossipHelloOpcode(WorldPacket& recvData)
186186

187187
_player->PlayerTalkClass->ClearMenus();
188188
#ifdef ELUNA
189-
// Let Eluna handle gossip first; fallback to default if unhandled
190-
bool handled = false;
191-
192189
if (Eluna* e = GetPlayer()->GetEluna())
193-
handled = e->OnGossipHello(_player, unit);
194-
195-
if(!handled)
190+
if (e->OnGossipHello(_player, unit))
191+
return;
196192
#endif
197193
if (!unit->AI()->OnGossipHello(_player))
198194
{

0 commit comments

Comments
 (0)