Fix VS2010/2012 build. Thanks H0zen for help

This commit is contained in:
Antz 2017-03-06 22:49:28 +00:00 committed by Antz
parent d1968f619a
commit 395f228d28
2 changed files with 4 additions and 4 deletions

View file

@ -3753,7 +3753,7 @@ enum TrackedAuraType
// will only support WoW, WoW:TBC, WoW:WotLK and WoW:Cataclysm 4.3.4 client build 15595...
#define EXPECTED_MANGOSD_CLIENT_BUILD {15595, 0}
#define EXPECTED_MANGOSD_CLIENT_VERSION {"4.3.4"}
#define EXPECTED_MANGOSD_CLIENT_VERSION "4.3.4"
// max supported expansion level in mangosd
// NOTE: not set it more that supported by targeted client version with all expansions installed
@ -3789,8 +3789,8 @@ static const MaxLevel maxLevelForExpansion[MAX_EXPANSION + 1] = { MAX_LEVEL_CLAS
enum TeleportLocation
{
TELEPORT_LOCATION_HOMEBIND = 0,
TELEPORT_LOCATION_BG_ENTRY_POINT = 1,
TELEPORT_LOCATION_HOMEBIND = 0,
TELEPORT_LOCATION_BG_ENTRY_POINT = 1,
};
// For Loot system

View file

@ -1675,7 +1675,7 @@ void World::showFooter()
modules_.insert(" Warden : Disabled");
}
std::string thisClientVersion = EXPECTED_MANGOSD_CLIENT_VERSION;
std::string thisClientVersion (EXPECTED_MANGOSD_CLIENT_VERSION);
std::string thisClientBuilds = AcceptableClientBuildsListStr();
std::string sModules;