Skip to content

Commit

Permalink
Fix target bug, volume 2.
Browse files Browse the repository at this point in the history
Gossip query shouldn't change targets server-side.
  • Loading branch information
Warlockbugs authored and Fabi committed Jan 15, 2017
1 parent 1e53f24 commit b3284e1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/game/QueryHandler.cpp
Expand Up @@ -321,8 +321,6 @@ void WorldSession::HandleNpcTextQueryOpcode(WorldPacket& recv_data)

DETAIL_LOG("WORLD: CMSG_NPC_TEXT_QUERY ID '%u'", textID);

_player->SetTargetGuid(guid);

GossipText const* pGossip = sObjectMgr.GetGossipText(textID);

WorldPacket data(SMSG_NPC_TEXT_UPDATE, 100); // guess size
Expand Down

0 comments on commit b3284e1

Please sign in to comment.