aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/World
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/scripts/World')
-rw-r--r--src/server/scripts/World/mob_generic_creature.cpp4
-rw-r--r--src/server/scripts/World/npcs_special.cpp6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/server/scripts/World/mob_generic_creature.cpp b/src/server/scripts/World/mob_generic_creature.cpp
index 6970d5ae367..208effee61b 100644
--- a/src/server/scripts/World/mob_generic_creature.cpp
+++ b/src/server/scripts/World/mob_generic_creature.cpp
@@ -174,7 +174,7 @@ public:
struct trigger_periodicAI : public NullCreatureAI
{
- trigger_periodicAI(Creature* c) : NullCreatureAI(c)
+ trigger_periodicAI(Creature* creature) : NullCreatureAI(creature)
{
spell = me->m_spells[0] ? sSpellMgr->GetSpellInfo(me->m_spells[0]) : NULL;
interval = me->GetAttackTime(BASE_ATTACK);
@@ -210,7 +210,7 @@ public:
struct trigger_deathAI : public NullCreatureAI
{
- trigger_deathAI(Creature* c) : NullCreatureAI(c) {}
+ trigger_deathAI(Creature* creature) : NullCreatureAI(creature) {}
void JustDied(Unit* killer)
{
if (me->m_spells[0])
diff --git a/src/server/scripts/World/npcs_special.cpp b/src/server/scripts/World/npcs_special.cpp
index 046890b498d..a6f68b8fb32 100644
--- a/src/server/scripts/World/npcs_special.cpp
+++ b/src/server/scripts/World/npcs_special.cpp
@@ -1842,7 +1842,7 @@ public:
struct npc_mirror_imageAI : CasterAI
{
- npc_mirror_imageAI(Creature* c) : CasterAI(c) {}
+ npc_mirror_imageAI(Creature* creature) : CasterAI(creature) {}
void InitializeAI()
{
@@ -1888,7 +1888,7 @@ public:
struct npc_ebon_gargoyleAI : CasterAI
{
- npc_ebon_gargoyleAI(Creature* c) : CasterAI(c) {}
+ npc_ebon_gargoyleAI(Creature* creature) : CasterAI(creature) {}
uint32 despawnTimer;
@@ -1979,7 +1979,7 @@ public:
struct npc_lightwellAI : public PassiveAI
{
- npc_lightwellAI(Creature* c) : PassiveAI(c) {}
+ npc_lightwellAI(Creature* creature) : PassiveAI(creature) {}
void Reset()
{