From 9b0b1185e4f9eb48cd16237f7622204687b9c01a Mon Sep 17 00:00:00 2001 From: Naios Date: Sat, 28 Mar 2015 16:27:50 +0100 Subject: Core/Log: Fix linker errors that occur on msvc 12 lower then update 4 * http://stackoverflow.com/questions/4891067/weird-undefined-symbols-of-static-constants-inside-a-struct-class * http://www-01.ibm.com/support/knowledgecenter/SSGH3R_8.0.0/com.ibm.xlcpp8a.doc/language/ref/cplr038.htm%23cplr038 * closes #14463 * ref #14317 --- src/server/game/Reputation/ReputationMgr.cpp | 3 +++ 1 file changed, 3 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 adc4768501c..d2fdc9b1da8 100644 --- a/src/server/game/Reputation/ReputationMgr.cpp +++ b/src/server/game/Reputation/ReputationMgr.cpp @@ -30,6 +30,9 @@ const int32 ReputationMgr::PointsInRank[MAX_REPUTATION_RANK] = {36000, 3000, 3000, 3000, 6000, 12000, 21000, 1000}; +const int32 ReputationMgr::Reputation_Cap = 42999; +const int32 ReputationMgr::Reputation_Bottom = -42000; + ReputationRank ReputationMgr::ReputationToRank(int32 standing) { int32 limit = Reputation_Cap + 1; -- cgit v1.2.3