aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2011-06-25 23:40:36 +0200
committerShauren <shauren.trinity@gmail.com>2011-06-25 23:40:36 +0200
commit9a5f8dc844be68fa239d9c5ac6b95b7a6b2dfcee (patch)
treea63ceb9b6260618578c814bffffd2042e3d3eb89 /src
parentaa0e279b04d0b39515d08db5d04c60cbf257eab1 (diff)
Scripts/The Nexus: Fixed compile warning
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Northrend/Nexus/Nexus/boss_keristrasza.cpp6
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()