mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[10704] Add the option to close gossip window in gossip system
Field action_menu_id in gossip_menu_option table can be set to -1 where close gossip is expected, instead of sending a new menu. Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
71b50e6e42
commit
7032423d6f
10 changed files with 23 additions and 12 deletions
|
|
@ -9117,7 +9117,7 @@ void ObjectMgr::LoadGossipMenuItems()
|
|||
gMenuItem.option_text = fields[3].GetCppString();
|
||||
gMenuItem.option_id = fields[4].GetUInt32();
|
||||
gMenuItem.npc_option_npcflag = fields[5].GetUInt32();
|
||||
gMenuItem.action_menu_id = fields[6].GetUInt32();
|
||||
gMenuItem.action_menu_id = fields[6].GetInt32();
|
||||
gMenuItem.action_poi_id = fields[7].GetUInt32();
|
||||
gMenuItem.action_script_id = fields[8].GetUInt32();
|
||||
gMenuItem.box_coded = fields[9].GetUInt8() != 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue