Core/Misc: Fix gcc warnings

(cherry picked from commit 8cc418460f)
This commit is contained in:
Shauren
2021-08-28 16:08:33 +02:00
parent 9ca7fc89a9
commit eb05494f12
2 changed files with 7 additions and 5 deletions

View File

@@ -27,6 +27,12 @@
#include "WorldPacket.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,

View File

@@ -27,11 +27,7 @@
#include <set>
#include <map>
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 : uint8
{