aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuras.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-24 09:44:08 -0600
committermegamage <none@none>2009-03-24 09:44:08 -0600
commitba1fd0db9098a6bd66fface009f5669d8eccb93c (patch)
treebc3bf6a408388e064094a5fb917d8a251c3f07b4 /src/game/SpellAuras.cpp
parent3888799d7646dea6792ac204fcfeff5d15497c4e (diff)
[7527] Remove redundent arg from Player::EnvironmentalDamage Author: VladimirMangos
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r--src/game/SpellAuras.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index f9e44697ca4..5fa8f0081f2 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -3101,7 +3101,7 @@ void Aura::HandleAuraModScale(bool apply, bool Real)
m_target->SetUInt32Value(UNIT_FIELD_FACTIONTEMPLATE,cinfo->faction_A);
}
- caster->SetCharm(0);
+ caster->SetCharm(NULL);
if(caster->GetTypeId() == TYPEID_PLAYER)
{
@@ -3257,7 +3257,7 @@ void Aura::HandleAuraModPetTalentsPoints(bool Apply, bool Real)
}
}
- caster->SetCharm(0);
+ caster->SetCharm(NULL);
if(caster->GetTypeId() == TYPEID_PLAYER)
{