*Merge.
--HG-- branch : trunk
This commit is contained in:
commit
d1c2d98015
19 files changed
+66
-36
No files matched your search
@@ -5722,6 +5722,9 @@ void Player::RewardReputation(Unit *pVictim, float rate)
|
||||
if(!pVictim || pVictim->GetTypeId() == TYPEID_PLAYER)
|
||||
return;
|
||||
|
||||
if(((Creature*)pVictim)->IsReputationGainDisabled())
|
||||
return;
|
||||
|
||||
ReputationOnKillEntry const* Rep = objmgr.GetReputationOnKilEntry(((Creature*)pVictim)->GetCreatureInfo()->Entry);
|
||||
|
||||
if(!Rep)
|
||||
|
||||
Reference in new issue
Block a user