diff options
author | ccrs <ccrs@users.noreply.github.com> | 2019-06-29 16:01:58 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-12-13 00:42:18 +0100 |
commit | cadbf42ea4489933f28caf356f8c8d09ca243083 (patch) | |
tree | edd3011eb7d7cb6802685fe4186ae56eaa92331f /src/server/game/AI/CreatureAI.cpp | |
parent | 996b7c1f0ebb22b424d7406adf88b43143b2ede4 (diff) |
Misc: some corrections after recent merges
(cherry picked from commit 626a24822b3c6a5d5b9a4b29861ecf393fd9288b)
Diffstat (limited to 'src/server/game/AI/CreatureAI.cpp')
-rw-r--r-- | src/server/game/AI/CreatureAI.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/game/AI/CreatureAI.cpp b/src/server/game/AI/CreatureAI.cpp index 9ded80817a1..b23a7284da1 100644 --- a/src/server/game/AI/CreatureAI.cpp +++ b/src/server/game/AI/CreatureAI.cpp @@ -159,7 +159,7 @@ void CreatureAI::TriggerAlert(Unit const* who) const me->GetMotionMaster()->MoveDistract(5 * IN_MILLISECONDS, me->GetAbsoluteAngle(who)); } -// adapted from logic in Spell:EFfectSummonType before commit 8499434 +// adapted from logic in Spell:EffectSummonType static bool ShouldFollowOnSpawn(SummonPropertiesEntry const* properties) { // Summons without SummonProperties are generally scripted summons that don't belong to any owner @@ -190,6 +190,7 @@ static bool ShouldFollowOnSpawn(SummonPropertiesEntry const* properties) return false; } } + void CreatureAI::JustAppeared() { if (TempSummon* summon = me->ToTempSummon()) |