mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[10258] Correct old typo in GetReputationOnKillEntry function name
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
5951ebeacc
commit
756e29f891
3 changed files with 3 additions and 3 deletions
|
|
@ -609,7 +609,7 @@ class ObjectMgr
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
ReputationOnKillEntry const* GetReputationOnKilEntry(uint32 id) const
|
ReputationOnKillEntry const* GetReputationOnKillEntry(uint32 id) const
|
||||||
{
|
{
|
||||||
RepOnKillMap::const_iterator itr = mRepOnKill.find(id);
|
RepOnKillMap::const_iterator itr = mRepOnKill.find(id);
|
||||||
if(itr != mRepOnKill.end())
|
if(itr != mRepOnKill.end())
|
||||||
|
|
|
||||||
|
|
@ -6276,7 +6276,7 @@ void Player::RewardReputation(Unit *pVictim, float rate)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// used current difficulty creature entry instead normal version (GetEntry())
|
// used current difficulty creature entry instead normal version (GetEntry())
|
||||||
ReputationOnKillEntry const* Rep = sObjectMgr.GetReputationOnKilEntry(((Creature*)pVictim)->GetCreatureInfo()->Entry);
|
ReputationOnKillEntry const* Rep = sObjectMgr.GetReputationOnKillEntry(((Creature*)pVictim)->GetCreatureInfo()->Entry);
|
||||||
|
|
||||||
if(!Rep)
|
if(!Rep)
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "10257"
|
#define REVISION_NR "10258"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue