diff options
| author | ShinDarth <borzifrancesco@gmail.com> | 2014-08-19 11:50:39 +0200 |
|---|---|---|
| committer | ShinDarth <borzifrancesco@gmail.com> | 2014-08-19 15:57:51 +0200 |
| commit | d8b345a5ead59307e00d4f515a69d9933edb5627 (patch) | |
| tree | 3550d9befffc83f71cb21d3b7cc8f078fa1f1040 /src | |
| parent | d15bbc63de8aca43262917966bf9c1c8651cb497 (diff) | |
Core/SmartScripts: fix escort quest group-complete
Diffstat (limited to 'src')
| -rw-r--r-- | src/server/game/AI/SmartScripts/SmartScript.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/game/AI/SmartScripts/SmartScript.cpp b/src/server/game/AI/SmartScripts/SmartScript.cpp index cd80c646a2d..c19ed4ff54b 100644 --- a/src/server/game/AI/SmartScripts/SmartScript.cpp +++ b/src/server/game/AI/SmartScripts/SmartScript.cpp @@ -477,7 +477,8 @@ void SmartScript::ProcessAction(SmartScriptHolder& e, Unit* unit, uint32 var0, u if (IsPlayer(*itr)) { - (*itr)->ToPlayer()->AreaExploredOrEventHappens(e.action.quest.quest); + (*itr)->ToPlayer()->GroupEventHappens(e.action.quest.quest, me); + TC_LOG_DEBUG("scripts.ai", "SmartScript::ProcessAction:: SMART_ACTION_CALL_AREAEXPLOREDOREVENTHAPPENS: Player guidLow %u credited quest %u", (*itr)->GetGUIDLow(), e.action.quest.quest); } |
