Core/Units: Fixed kill credits

This commit is contained in:
Shauren
2011-04-17 14:16:48 +02:00
parent 18f4ed5de4
commit 472027c3e0
+1 -1
View File
@@ -424,7 +424,7 @@ void TradeData::SetAccepted(bool state, bool crosssend /*= false*/)
KillRewarder::KillRewarder(Player* killer, Unit* victim, bool isBattleGround) :
// 1. Initialize internal variables to default values.
_killer(killer), _victim(victim), _isBattleGround(isBattleGround),
_group(killer->GetGroup()), _groupRate(1.0f),
_isPvP(false), _group(killer->GetGroup()), _groupRate(1.0f),
_maxLevel(0), _maxNotGrayMember(NULL), _count(0), _sumLevel(0), _isFullXP(false), _xp(0)
{
// mark the credit as pvp if victim is player