From 756e29f89175d28505ab537edd70f8e89aaf143b Mon Sep 17 00:00:00 2001 From: NoFantasy Date: Sat, 24 Jul 2010 13:49:05 +0200 Subject: [PATCH] [10258] Correct old typo in GetReputationOnKillEntry function name Signed-off-by: NoFantasy --- src/game/ObjectMgr.h | 2 +- src/game/Player.cpp | 2 +- src/shared/revision_nr.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game/ObjectMgr.h b/src/game/ObjectMgr.h index a3ccb2856..404b14a91 100644 --- a/src/game/ObjectMgr.h +++ b/src/game/ObjectMgr.h @@ -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()) diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 6f349275d..126f5db0f 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -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; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 973abb008..6e5295b3c 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "10257" + #define REVISION_NR "10258" #endif // __REVISION_NR_H__