aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-08-24 22:31:54 -0500
committermegamage <none@none>2009-08-24 22:31:54 -0500
commit87270fefc235d45c2d9116b4a26f0dc32f1a5d7e (patch)
treedfe9897672fc1e33fa8ee1b5fa4f9c299afa2aec /src/game/Player.cpp
parenta8f394f8510797e60e93a22ed409d860579ad76b (diff)
*Some update of aura system. Remove unnecessary variables and parameters from auraeffect. Always refer to parent aura when finding target/source/caster.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r--src/game/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 326e04e27c2..c793ff927bd 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -15379,7 +15379,7 @@ void Player::_LoadAuras(QueryResult *result, uint32 timediff)
else
remaincharges = 0;
- Aura* aura = new Aura(spellproto, effmask, NULL, this, NULL, NULL);
+ Aura* aura = new Aura(spellproto, effmask, this, this, this);
aura->SetLoadedState(caster_guid,maxduration,remaintime,remaincharges, stackcount, &damage[0]);
if(!aura->CanBeSaved())
{