mirror of
https://github.com/mangosfour/server.git
synced 2025-12-27 19:37:04 +00:00
[7116] Correctly show quest/gossip menues.
In case non defeault gossip text with quest only In case empty quest and gossip menus and gossip text.
This commit is contained in:
parent
9af1caccd8
commit
ac9b14d70c
2 changed files with 2 additions and 4 deletions
|
|
@ -125,7 +125,7 @@ bool PlayerMenu::GossipOptionCoded( unsigned int Selection )
|
|||
void PlayerMenu::SendGossipMenu( uint32 TitleTextId, uint64 npcGUID )
|
||||
{
|
||||
WorldPacket data( SMSG_GOSSIP_MESSAGE, (100) ); // guess size
|
||||
data << npcGUID;
|
||||
data << uint64(npcGUID);
|
||||
data << uint32(0); // new 2.4.0
|
||||
data << uint32( TitleTextId );
|
||||
data << uint32( mGossipMenu.MenuItemCount() ); // max count 0x0F
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue