Core: Crash fix (TemporarySummon), remove some warnings and some other minor changes
- "const uint64" and "uint64 const" --> uint64 - Add some info in LFGDungeonEntry - Move some definitions from ".h" files and move to ".cpp"
This commit is contained in:
@@ -297,7 +297,7 @@ public:
|
||||
|
||||
uint64 prisonerGUID;
|
||||
|
||||
void SetGUID(const uint64 guid, int32 /*id*/)
|
||||
void SetGUID(uint64 guid, int32 /*id*/)
|
||||
{
|
||||
if (!prisonerGUID)
|
||||
prisonerGUID = guid;
|
||||
@@ -883,7 +883,7 @@ public:
|
||||
|
||||
uint64 minerGUID;
|
||||
|
||||
void SetGUID(const uint64 guid, int32 /*id*/)
|
||||
void SetGUID(uint64 guid, int32 /*id*/)
|
||||
{
|
||||
minerGUID = guid;
|
||||
}
|
||||
|
||||
@@ -318,7 +318,7 @@ class boss_rimefang : public CreatureScript
|
||||
_EnterEvadeMode();
|
||||
}
|
||||
|
||||
void SetGUID(const uint64 guid, int32 type)
|
||||
void SetGUID(uint64 guid, int32 type)
|
||||
{
|
||||
if (type == GUID_HOARFROST)
|
||||
{
|
||||
@@ -384,7 +384,7 @@ class player_overlord_brandAI : public PlayerAI
|
||||
tyrannus = NULL;
|
||||
}
|
||||
|
||||
void SetGUID(const uint64 guid, int32 /*type*/)
|
||||
void SetGUID(uint64 guid, int32 /*type*/)
|
||||
{
|
||||
tyrannus = ObjectAccessor::GetCreature(*me, guid);
|
||||
if (!tyrannus)
|
||||
|
||||
@@ -1176,7 +1176,7 @@ class npc_ball_of_flame : public CreatureScript
|
||||
}
|
||||
}
|
||||
|
||||
void SetGUID(uint64 const guid, int32 /*type*/)
|
||||
void SetGUID(uint64 guid, int32 /*type*/)
|
||||
{
|
||||
_chaseGUID = guid;
|
||||
}
|
||||
|
||||
@@ -257,7 +257,7 @@ class boss_blood_queen_lana_thel : public CreatureScript
|
||||
Talk(SAY_KILL);
|
||||
}
|
||||
|
||||
void SetGUID(uint64 const guid, int32 type = 0)
|
||||
void SetGUID(uint64 guid, int32 type = 0)
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
|
||||
@@ -549,7 +549,7 @@ class boss_lady_deathwhisper : public CreatureScript
|
||||
summon->AI()->DoCast(summon, SPELL_TELEPORT_VISUAL);
|
||||
}
|
||||
|
||||
void SetGUID(uint64 const guid, int32 id/* = 0*/)
|
||||
void SetGUID(uint64 guid, int32 id/* = 0*/)
|
||||
{
|
||||
if (id != GUID_CULTIST)
|
||||
return;
|
||||
|
||||
@@ -252,7 +252,7 @@ class boss_lord_marrowgar : public CreatureScript
|
||||
return 0LL;
|
||||
}
|
||||
|
||||
void SetGUID(uint64 const guid, int32 type/* = 0 */)
|
||||
void SetGUID(uint64 guid, int32 type/* = 0 */)
|
||||
{
|
||||
if (type != DATA_COLDFLAME_GUID)
|
||||
return;
|
||||
|
||||
@@ -523,7 +523,7 @@ class npc_ice_tomb : public CreatureScript
|
||||
me->SetReactState(REACT_PASSIVE);
|
||||
}
|
||||
|
||||
void SetGUID(uint64 const guid, int32 type/* = 0 */)
|
||||
void SetGUID(uint64 guid, int32 type/* = 0 */)
|
||||
{
|
||||
if (type == DATA_TRAPPED_PLAYER)
|
||||
{
|
||||
|
||||
@@ -971,7 +971,7 @@ class npc_crok_scourgebane : public CreatureScript
|
||||
}
|
||||
}
|
||||
|
||||
void SetGUID(uint64 const guid, int32 type/* = 0*/)
|
||||
void SetGUID(uint64 guid, int32 type/* = 0*/)
|
||||
{
|
||||
if (type == ACTION_VRYKUL_DEATH)
|
||||
{
|
||||
|
||||
@@ -163,7 +163,7 @@ public:
|
||||
|
||||
uint64 victimGUID;
|
||||
|
||||
void SetGUID(const uint64 guid, int32 /*param*/)
|
||||
void SetGUID(uint64 guid, int32 /*param*/)
|
||||
{
|
||||
victimGUID = guid;
|
||||
if (me->m_spells[0] && victimGUID)
|
||||
|
||||
@@ -157,7 +157,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void SetGUID(uint64 const guid, int32 id/* = 0 */)
|
||||
void SetGUID(uint64 guid, int32 id/* = 0 */)
|
||||
{
|
||||
if (id == DATA_INTENSE_COLD)
|
||||
intenseColdList.push_back(guid);
|
||||
|
||||
@@ -2431,7 +2431,7 @@ public:
|
||||
uiEventPhase = 1;
|
||||
}
|
||||
|
||||
void SetGUID(const uint64 uiGuid, int32 /*iId*/)
|
||||
void SetGUID(uint64 uiGuid, int32 /*iId*/)
|
||||
{
|
||||
uiPlayerGUID = uiGuid;
|
||||
}
|
||||
|
||||
@@ -361,7 +361,7 @@ public:
|
||||
bRemoveFlag = false;
|
||||
}
|
||||
|
||||
void SetGUID(const uint64 guid, int32 /*id*/)
|
||||
void SetGUID(uint64 guid, int32 /*id*/)
|
||||
{
|
||||
uiPlayerGUID = guid;
|
||||
}
|
||||
|
||||
@@ -1088,7 +1088,7 @@ class spell_magic_eater_food : public SpellScriptLoader
|
||||
{
|
||||
PrepareAuraScript(spell_magic_eater_food_AuraScript);
|
||||
|
||||
void HandleTriggerSpell(AuraEffect const* aurEff)
|
||||
void HandleTriggerSpell(AuraEffect const* /*aurEff*/)
|
||||
{
|
||||
PreventDefaultAction();
|
||||
Unit* target = GetTarget();
|
||||
|
||||
Reference in New Issue
Block a user