diff options
author | KingPin <none@none> | 2008-10-20 12:23:56 -0500 |
---|---|---|
committer | KingPin <none@none> | 2008-10-20 12:23:56 -0500 |
commit | 35f378aef9e2da3b24b2adb182f165d52da6a09b (patch) | |
tree | 317bd32acf1b2447ed11cd6b9962e000dfaeaffc /src/game/ObjectMgr.cpp | |
parent | a1d00528a32f124f99ea26273b7172c2a5e2868e (diff) |
[svn] * fixed help for subcommands - source mangos
* Renamed accounts column tbc to expansion and it only took a little over 4 hours o.O
--HG--
branch : trunk
Diffstat (limited to 'src/game/ObjectMgr.cpp')
-rw-r--r-- | src/game/ObjectMgr.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp index 3783efaf0f9..7affe141f89 100644 --- a/src/game/ObjectMgr.cpp +++ b/src/game/ObjectMgr.cpp @@ -2370,6 +2370,10 @@ void ObjectMgr::LoadPlayerInfo() // skip expansion races if not playing with expansion if (sWorld.getConfig(CONFIG_EXPANSION) < 1 && (race == RACE_BLOODELF || race == RACE_DRAENEI)) continue; + + // skip expansion classes if not playing with expansion + if (sWorld.getConfig(CONFIG_EXPANSION) < 2 && class_ == CLASS_DEATH_KNIGHT) + continue; // fatal error if no level 1 data if(!pInfo->levelInfo || pInfo->levelInfo[0].stats[0] == 0 ) |