From 395f228d288a6adaf7bf06392f8f5a3aeea8eaf6 Mon Sep 17 00:00:00 2001 From: Antz Date: Mon, 6 Mar 2017 22:49:28 +0000 Subject: [PATCH] Fix VS2010/2012 build. Thanks H0zen for help --- src/game/Server/SharedDefines.h | 6 +++--- src/game/WorldHandlers/World.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/game/Server/SharedDefines.h b/src/game/Server/SharedDefines.h index db633cc81..243bf9bc6 100644 --- a/src/game/Server/SharedDefines.h +++ b/src/game/Server/SharedDefines.h @@ -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 diff --git a/src/game/WorldHandlers/World.cpp b/src/game/WorldHandlers/World.cpp index 15bcbca76..e11c41d4b 100644 --- a/src/game/WorldHandlers/World.cpp +++ b/src/game/WorldHandlers/World.cpp @@ -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;