aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/AI/ScriptedAI
diff options
context:
space:
mode:
authorclick <clickvd@gonnamakeyou.com>2011-06-12 01:47:45 +0200
committerclick <clickvd@gonnamakeyou.com>2011-06-12 01:47:45 +0200
commitf16df538eeaecbb5e9364368cfa48d04f48db4de (patch)
tree21451f2febc083a2cc6953d1ff88292305fe8364 /src/server/game/AI/ScriptedAI
parent158966dc793f47dd4ada264da775f647601298aa (diff)
Core: More codestyle cleanups
Diffstat (limited to 'src/server/game/AI/ScriptedAI')
-rwxr-xr-xsrc/server/game/AI/ScriptedAI/ScriptedSimpleAI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/AI/ScriptedAI/ScriptedSimpleAI.cpp b/src/server/game/AI/ScriptedAI/ScriptedSimpleAI.cpp
index cb3f9aa8346..a3bbd65aff0 100755
--- a/src/server/game/AI/ScriptedAI/ScriptedSimpleAI.cpp
+++ b/src/server/game/AI/ScriptedAI/ScriptedSimpleAI.cpp
@@ -108,7 +108,7 @@ void SimpleAI::EnterCombat(Unit *who)
DoPlaySoundToSet(me, Aggro_Sound[random_text]);
}
-void SimpleAI::KilledUnit(Unit *victim)
+void SimpleAI::KilledUnit(Unit* victim)
{
uint8 random_text = urand(0, 2);
@@ -152,7 +152,7 @@ void SimpleAI::KilledUnit(Unit *victim)
DoCast(pTarget, Kill_Spell);
}
-void SimpleAI::DamageTaken(Unit *killer, uint32 &damage)
+void SimpleAI::DamageTaken(Unit* killer, uint32 &damage)
{
//Return if damage taken won't kill us
if (me->GetHealth() > damage)