mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-25 22:56:24 +00:00
Merge branch 'master' into Playerbot
This commit is contained in:
@@ -448,8 +448,8 @@ void LoadDBCStores(const std::string& dataPath)
|
||||
|
||||
for (SkillLineAbilityEntry const* skillLine : sSkillLineAbilityStore)
|
||||
{
|
||||
SpellEntry const* spellInfo = sSpellStore.LookupEntry(skillLine->Spell);
|
||||
if (spellInfo && spellInfo->Attributes & SPELL_ATTR0_PASSIVE)
|
||||
SpellEntry const* spellEntry = sSpellStore.LookupEntry(skillLine->Spell);
|
||||
if (spellEntry && spellEntry->Attributes & SPELL_ATTR0_PASSIVE)
|
||||
{
|
||||
for (CreatureFamilyEntry const* cFamily : sCreatureFamilyStore)
|
||||
{
|
||||
@@ -458,7 +458,7 @@ void LoadDBCStores(const std::string& dataPath)
|
||||
continue;
|
||||
}
|
||||
|
||||
if (spellInfo->SpellLevel)
|
||||
if (spellEntry->SpellLevel)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
@@ -468,7 +468,7 @@ void LoadDBCStores(const std::string& dataPath)
|
||||
continue;
|
||||
}
|
||||
|
||||
sPetFamilySpellsStore[cFamily->ID].insert(spellInfo->Id);
|
||||
sPetFamilySpellsStore[cFamily->ID].insert(spellEntry->Id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ WMOAreaTableEntry const* GetWMOAreaTableEntryByTripple(int32 rootid, int32 adtid
|
||||
|
||||
uint32 GetVirtualMapForMapAndZone(uint32 mapid, uint32 zoneId);
|
||||
|
||||
enum ContentLevels
|
||||
enum ContentLevels : uint8
|
||||
{
|
||||
CONTENT_1_60 = 0,
|
||||
CONTENT_61_70,
|
||||
|
||||
@@ -15,11 +15,11 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "DBCStores.h"
|
||||
#include "M2Stores.h"
|
||||
#include "Containers.h"
|
||||
#include "DBCStores.h"
|
||||
#include "Log.h"
|
||||
#include "M2Structure.h"
|
||||
#include "M2Stores.h"
|
||||
#include "World.h"
|
||||
#include <boost/filesystem/path.hpp>
|
||||
#include <fstream>
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
#ifndef ACORE_M2STRUCTURE_H
|
||||
#define ACORE_M2STRUCTURE_H
|
||||
|
||||
#include <G3D/Vector3.h>
|
||||
#include <G3D/AABox.h>
|
||||
#include <G3D/Vector3.h>
|
||||
|
||||
// Structures for M2 file. Source: https://wowdev.wiki
|
||||
#pragma pack(push, 1)
|
||||
|
||||
Reference in New Issue
Block a user