Skip to content

Commit

Permalink
NPCBots: Fix gcc build 1
Browse files Browse the repository at this point in the history
  • Loading branch information
trickerer committed Dec 22, 2023
1 parent d428a4b commit ea67386
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/server/game/Handlers/QueryHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,13 @@ void WorldSession::HandleCreatureQueryOpcode(WorldPacket& recvData)
Title = ci->SubName;

LocaleConstant loc_idx = GetSessionDbLocaleIndex();
//npcbot: pointless check, see AccountInfo()
/*
//end npcbot
if (loc_idx >= 0)
//npcbot
*/
//end npcbot
{
if (CreatureLocale const* cl = sObjectMgr->GetCreatureLocale(entry))
{
Expand Down

0 comments on commit ea67386

Please sign in to comment.