mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 00:18:43 +01:00
Core/Gossip: Gossip menu items will now have constant index, allowing to properly define scripts relying on that index when mixed with conditions. Script-created menus via ADD_GOSSIP_ITEM will still have the index generated dynamically
This commit is contained in:
@@ -909,7 +909,7 @@ void Map::ScriptsProcess()
|
||||
case SCRIPT_COMMAND_CLOSE_GOSSIP:
|
||||
// Source must be Player.
|
||||
if (Player *pSource = _GetScriptPlayer(source, true, step.script))
|
||||
pSource->PlayerTalkClass->CloseGossip();
|
||||
pSource->PlayerTalkClass->SendCloseGossip();
|
||||
break;
|
||||
|
||||
case SCRIPT_COMMAND_PLAYMOVIE:
|
||||
|
||||
Reference in New Issue
Block a user