aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-03-15 18:02:10 +0100
committerQAston <none@none>2009-03-15 18:02:10 +0100
commit7a1e7c4f73db8374aadfdd9a397a52549e09e90a (patch)
tree4ceb605871d629a9f9d24443520ee4b91d30e50f /src/game/Player.cpp
parentf9b14c221bef52313ed9f8ec1802af507b770a69 (diff)
*Prevent possible crash.
*Remove obsolete Judgement of Righteousness coefficient-by cccyril --HG-- branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r--src/game/Player.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index a7828439383..9129aabf835 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -19286,6 +19286,8 @@ void Player::SendAurasForTarget(Unit *target)
{
if (Unit * caster = aura->GetCaster())
data.append(caster->GetPackGUID());
+ else
+ data << uint8(0);
}
if(itr->second.m_Flags & AFLAG_DURATION) // include aura duration