Core/Scripts: Enhance quest status hook by making it catch more status changes (#17865)
This commit is contained in:
1 parent
dc4657218e
commit
19ed813f6b
6 files changed
+15
-5
No files matched your search
@@ -2116,9 +2116,9 @@ void ScriptMgr::OnPlayerUpdateZone(Player* player, uint32 newZone, uint32 newAre
|
||||
FOREACH_SCRIPT(PlayerScript)->OnUpdateZone(player, newZone, newArea);
|
||||
}
|
||||
|
||||
void ScriptMgr::OnQuestStatusChange(Player* player, uint32 questId, QuestStatus status)
|
||||
void ScriptMgr::OnQuestStatusChange(Player* player, uint32 questId)
|
||||
{
|
||||
FOREACH_SCRIPT(PlayerScript)->OnQuestStatusChange(player, questId, status);
|
||||
FOREACH_SCRIPT(PlayerScript)->OnQuestStatusChange(player, questId);
|
||||
}
|
||||
|
||||
// Account
|
||||
|
||||
Reference in new issue
Block a user