Core/Units: Fixed kill credits
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user