Core: Some more missing changes from previous commit (Pass by const reference for simple objects replaced with pass by value). Also fix unintended change

This commit is contained in:
Spp-
2011-08-01 14:51:44 +02:00
parent acd0fc79f6
commit 079f292b15
22 changed files with 25 additions and 25 deletions
@@ -1176,7 +1176,7 @@ class npc_ball_of_flame : public CreatureScript
}
}
void SetGUID(uint64 const& guid, int32 /*type*/)
void SetGUID(unit64 const guid, int32 /*type*/)
{
_chaseGUID = guid;
}
@@ -253,7 +253,7 @@ class boss_blood_queen_lana_thel : public CreatureScript
Talk(SAY_KILL);
}
void SetGUID(uint64 const& guid, int32 type = 0)
void SetGUID(unit64 const guid, int32 type = 0)
{
if (type == GUID_VAMPIRE)
_vampires.insert(guid);
@@ -548,7 +548,7 @@ class boss_lady_deathwhisper : public CreatureScript
summon->AI()->DoCast(summon, SPELL_TELEPORT_VISUAL);
}
void SetGUID(uint64 const& guid, int32 id/* = 0*/)
void SetGUID(unit64 const guid, int32 id/* = 0*/)
{
if (id != GUID_CULTIST)
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(unit64 const 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(unit64 const guid, int32 type/* = 0*/)
{
if (type == ACTION_VRYKUL_DEATH)
{
@@ -157,7 +157,7 @@ public:
}
}
void SetGUID(uint64 const& guid, int32 id/* = 0 */)
void SetGUID(unit64 const guid, int32 id/* = 0 */)
{
if (id == DATA_INTENSE_COLD)
intenseColdList.push_back(guid);