mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-09 02:30:29 +00:00
- Merge fix
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#include "Errors.h"
|
||||
#include "LFGMgr.h"
|
||||
#include "Log.h"
|
||||
#include "RaceMgr.h"
|
||||
#include "SharedDefines.h"
|
||||
#include "SpellMgr.h"
|
||||
#include "TransportMgr.h"
|
||||
@@ -416,7 +417,7 @@ void LoadDBCStores(const std::string& dataPath)
|
||||
sCharStartOutfitMap[outfit->Race | (outfit->Class << 8) | (outfit->Gender << 16)] = outfit;
|
||||
|
||||
for (CharSectionsEntry const* charSection : sCharSectionsStore)
|
||||
if (charSection->Race && ((1 << (charSection->Race - 1)) & RACEMASK_ALL_PLAYABLE) != 0) //ignore Nonplayable races
|
||||
if (charSection->Race && ((1 << (charSection->Race - 1)) & sRaceMgr->GetPlayableRaceMask()) != 0) //ignore Nonplayable races
|
||||
sCharSectionMap.insert({ charSection->GenType | (charSection->Gender << 8) | (charSection->Race << 16), charSection });
|
||||
|
||||
for (FactionEntry const* faction : sFactionStore)
|
||||
@@ -1012,4 +1013,4 @@ AreaTableEntry const* GetAreaEntryByAreaFlagAndMap(uint32 area_flag, uint32 map_
|
||||
return GetAreaEntryByAreaID(mapEntry->linked_zone);
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user