Skip to content

Commit

Permalink
[10258] Correct old typo in GetReputationOnKillEntry function name
Browse files Browse the repository at this point in the history
Signed-off-by: NoFantasy <nofantasy@nf.no>
  • Loading branch information
NoFantasy committed Jul 24, 2010
1 parent cb310ba commit c35ca95
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/game/ObjectMgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ class ObjectMgr
return NULL;
}

ReputationOnKillEntry const* GetReputationOnKilEntry(uint32 id) const
ReputationOnKillEntry const* GetReputationOnKillEntry(uint32 id) const
{
RepOnKillMap::const_iterator itr = mRepOnKill.find(id);
if(itr != mRepOnKill.end())
Expand Down
2 changes: 1 addition & 1 deletion src/game/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6276,7 +6276,7 @@ void Player::RewardReputation(Unit *pVictim, float rate)
return;

// 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)
return;
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10257"
#define REVISION_NR "10258"
#endif // __REVISION_NR_H__

0 comments on commit c35ca95

Please sign in to comment.