diff options
Diffstat (limited to 'src/server/game/Reputation')
| -rw-r--r-- | src/server/game/Reputation/ReputationMgr.cpp | 6 | ||||
| -rw-r--r-- | src/server/game/Reputation/ReputationMgr.h | 6 |
2 files changed, 7 insertions, 5 deletions
diff --git a/src/server/game/Reputation/ReputationMgr.cpp b/src/server/game/Reputation/ReputationMgr.cpp index 64ac0ba5544..6514c4b03b2 100644 --- a/src/server/game/Reputation/ReputationMgr.cpp +++ b/src/server/game/Reputation/ReputationMgr.cpp @@ -27,6 +27,12 @@ #include "World.h" #include "WorldSession.h" +uint32 const ReputationRankStrIndex[MAX_REPUTATION_RANK] = +{ + LANG_REP_HATED, LANG_REP_HOSTILE, LANG_REP_UNFRIENDLY, LANG_REP_NEUTRAL, + LANG_REP_FRIENDLY, LANG_REP_HONORED, LANG_REP_REVERED, LANG_REP_EXALTED +}; + std::set<int32> const ReputationMgr::ReputationRankThresholds = { -42000, diff --git a/src/server/game/Reputation/ReputationMgr.h b/src/server/game/Reputation/ReputationMgr.h index 3d3d411fe1e..dc22fe6cd8d 100644 --- a/src/server/game/Reputation/ReputationMgr.h +++ b/src/server/game/Reputation/ReputationMgr.h @@ -29,11 +29,7 @@ struct FactionEntry; struct FactionTemplateEntry; -static uint32 ReputationRankStrIndex[MAX_REPUTATION_RANK] = -{ - LANG_REP_HATED, LANG_REP_HOSTILE, LANG_REP_UNFRIENDLY, LANG_REP_NEUTRAL, - LANG_REP_FRIENDLY, LANG_REP_HONORED, LANG_REP_REVERED, LANG_REP_EXALTED -}; +TC_GAME_API extern uint32 const ReputationRankStrIndex[MAX_REPUTATION_RANK]; enum class ReputationFlags : uint16 { |
