diff options
author | Shauren <shauren.trinity@gmail.com> | 2011-06-25 23:40:36 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2011-06-25 23:40:36 +0200 |
commit | 9a5f8dc844be68fa239d9c5ac6b95b7a6b2dfcee (patch) | |
tree | a63ceb9b6260618578c814bffffd2042e3d3eb89 | |
parent | aa0e279b04d0b39515d08db5d04c60cbf257eab1 (diff) |
Scripts/The Nexus: Fixed compile warning
-rw-r--r-- | src/server/scripts/Northrend/Nexus/Nexus/boss_keristrasza.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/scripts/Northrend/Nexus/Nexus/boss_keristrasza.cpp b/src/server/scripts/Northrend/Nexus/Nexus/boss_keristrasza.cpp index e5a62406ecd..c0949cb03fe 100644 --- a/src/server/scripts/Northrend/Nexus/Nexus/boss_keristrasza.cpp +++ b/src/server/scripts/Northrend/Nexus/Nexus/boss_keristrasza.cpp @@ -157,10 +157,10 @@ public: } } - void SetData(uint32 id, uint32 data) + void SetGUID(uint64 const& guid, int32 id/* = 0 */) { if (id == DATA_INTENSE_COLD) - intenseColdList.push_back(data); + intenseColdList.push_back(guid); } void UpdateAI(const uint32 diff) @@ -242,7 +242,7 @@ class spell_intense_cold : public SpellScriptLoader return; if (aurEff->GetBase()->GetStackAmount() >= 2) - caster->ToCreature()->AI()->SetData(DATA_INTENSE_COLD, GetTarget()->GetGUID()); + caster->GetAI()->SetGUID(GetTarget()->GetGUID(), DATA_INTENSE_COLD); } void Register() |