diff options
author | Giacomo Pozzoni <giacomopoz@gmail.com> | 2019-05-23 21:08:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-23 21:08:29 +0200 |
commit | 797fba98e95da1236465a15061ec4122d7ec33fe (patch) | |
tree | 2ebd1df31f8bd2573cdb65683e0966b4e3c97a43 /src/server/game/AI/CreatureAI.h | |
parent | 457fc224733cc78cedc5e956442a9f5d7bd2f049 (diff) |
3.3.5 gameobject summoner (#23289)
* Scripts/Misc: Change IsSummonedBy(Unit*) to IsSummonedBy(WorldObject*)
* Scripts/Misc: Fix build
* Core/TempSummons: Rename GetSummoner() to GetSummonerUnit()
* Core/TempSummons: Add support to TempSummons::GetSummoner() to return GameObject too
* Fix build
* Core/TempSummons: Allow GameObject to be owner of TempSummon
* Core/TempSummons: Add support to SAI for GameObject owner of TempSummon
* Scripts/Misc: Fix no-pch build
* Core/TempSummons: Implement PR comments
Diffstat (limited to 'src/server/game/AI/CreatureAI.h')
-rw-r--r-- | src/server/game/AI/CreatureAI.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/AI/CreatureAI.h b/src/server/game/AI/CreatureAI.h index ad540bcc233..5931b447d06 100644 --- a/src/server/game/AI/CreatureAI.h +++ b/src/server/game/AI/CreatureAI.h @@ -125,7 +125,7 @@ class TC_GAME_API CreatureAI : public UnitAI // Called when the creature summon successfully other creature virtual void JustSummoned(Creature* /*summon*/) { } - virtual void IsSummonedBy(Unit* /*summoner*/) { } + virtual void IsSummonedBy(WorldObject* /*summoner*/) { } virtual void SummonedCreatureDespawn(Creature* /*summon*/) { } virtual void SummonedCreatureDies(Creature* /*summon*/, Unit* /*killer*/) { } |