diff options
author | ariel- <ariel-@users.noreply.github.com> | 2016-10-14 03:59:13 -0300 |
---|---|---|
committer | joschiwald <joschiwald.trinity@gmail.com> | 2017-09-06 15:35:04 +0200 |
commit | d7c85d719306ad6f3e239e7e43975eb70bbdbc9f (patch) | |
tree | d1213a516e41ce93922ff2d78cc4d7363577a639 /src/server/game/Handlers/MiscHandler.cpp | |
parent | 84b6b064321e016785f084384ec5bc6f82acc89a (diff) |
Core/SmartScripts: fixup SMART_EVENT_FLAG_WHILE_CHARMED behaviour to only mean charmed creatures (#17738 follow-up)
Unit::IsControlledByPlayer is a expected value for TempSummons (like some triggers used in quests, summoned by spells).
Previous logic broke a lot of quests which use triggers to do stuff.
Allow JustSummoned and events linked from other events with flag set also in charmed (prevents breaking event chains)
Allow vehicles (needed for vehicles with SmartAI, eg Iron Rune Constructs and You: Rocket Jumping)
(cherry picked from commit 3e596376a7fae9fd585fac12e5122fd8f1b7ce14)
Diffstat (limited to 'src/server/game/Handlers/MiscHandler.cpp')
0 files changed, 0 insertions, 0 deletions