mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
Scripts/The Nexus: Fixed compile warning
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user