From 8cc418460fb8278002b0b8416b49728d0ff0ec76 Mon Sep 17 00:00:00 2001 From: Shauren Date: Sat, 28 Aug 2021 16:08:33 +0200 Subject: Core/Misc: Fix gcc warnings --- src/server/game/Reputation/ReputationMgr.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/server/game/Reputation/ReputationMgr.cpp') 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 const ReputationMgr::ReputationRankThresholds = { -42000, -- cgit v1.2.3