aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/World
diff options
context:
space:
mode:
authorGyx <2359980687@qq.com>2012-03-16 19:21:47 +0800
committerGyx <2359980687@qq.com>2012-03-16 19:21:47 +0800
commitfcbb222acaeaeec8ae282709e8f552cc1e256a07 (patch)
tree6879e600263f4f1499046364852163d2de8c1532 /src/server/scripts/World
parentef53bde176e213017c2346d9fcac0ab121b28974 (diff)
Core/Script: Clean-Up in Scripts.
Creature* c -> Creature* creature Creature* _Creature -> Creature* creature Creature* Creature -> Creature* creature Signed-off-by: Gyx <2359980687@qq.com>
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()
{