Fix VS2010/2012 build. Thanks H0zen for help

This commit is contained in:
Antz 2017-03-06 22:40:53 +00:00
parent b041843ed5
commit c11ea1a594
2 changed files with 3 additions and 3 deletions

View File

@ -153,7 +153,7 @@ enum Powers
POWER_RAGE = 1, ///< This is what warriors use to cast their spells
POWER_FOCUS = 2, ///< Used by hunters after Cataclysm (4.x)
POWER_ENERGY = 3, ///< Used by rouges to do their spells
POWER_HAPPINESS = 4, ///< Hunters pet's happiness affect their damage
POWER_HAPPINESS = 4, ///< Hunter's pet's happiness affect their damage
MAX_POWERS = 5,
POWER_ALL = 127, // default for class? - need check for TBC
POWER_HEALTH = 0xFFFFFFFE ///< Health, everyone has this (-2 as signed value)
@ -2576,7 +2576,7 @@ enum TrackedAuraType
// will only support 1.12.1 client (build 5875), 1.12.2 client (build 6005) and 1.12.3 client (build 6141)..
#define EXPECTED_MANGOSD_CLIENT_BUILD {5875, 6005, 6141, 0}
#define EXPECTED_MANGOSD_CLIENT_VERSION {"1.12.x"}
#define EXPECTED_MANGOSD_CLIENT_VERSION "1.12.x"
// Max creature level (included some bosses and elite)
#define DEFAULT_MAX_CREATURE_LEVEL 65

View File

@ -1561,7 +1561,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;