diff options
author | Meji <alvaro.megias@outlook.com> | 2023-01-13 03:04:03 +0100 |
---|---|---|
committer | Meji <alvaro.megias@outlook.com> | 2023-01-13 03:04:03 +0100 |
commit | 3f1816d4076a9dfc65adae3109bf504e35f21003 (patch) | |
tree | 4638d41df2030f49fd4cb1ee16720560c0e1ab09 /src/server/game/Globals/ObjectMgr.cpp | |
parent | c1598d1ac3c9b30feb7eab546240a14b092bd745 (diff) |
Core/Creatures: Fixed typo in loading creature addon
Diffstat (limited to 'src/server/game/Globals/ObjectMgr.cpp')
-rw-r--r-- | src/server/game/Globals/ObjectMgr.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp index f5d5df6d2d9..1169ab991a3 100644 --- a/src/server/game/Globals/ObjectMgr.cpp +++ b/src/server/game/Globals/ObjectMgr.cpp @@ -715,7 +715,7 @@ void ObjectMgr::LoadCreatureTemplateAddons() { uint32 oldMSTime = getMSTime(); - // 0 1 2 3 4 5 6 7 8 9 10 11 12 + // 0 1 2 3 4 5 6 7 8 9 10 11 12 13 QueryResult result = WorldDatabase.Query("SELECT entry, path_id, mount, StandState, AnimTier, VisFlags, SheathState, PvPFlags, emote, aiAnimKit, movementAnimKit, meleeAnimKit, visibilityDistanceType, auras FROM creature_template_addon"); if (!result) @@ -752,7 +752,7 @@ void ObjectMgr::LoadCreatureTemplateAddons() creatureAddon.meleeAnimKit = fields[11].GetUInt16(); creatureAddon.visibilityDistanceType = VisibilityDistanceType(fields[12].GetUInt8()); - for (std::string_view aura : Trinity::Tokenize(fields[10].GetStringView(), ' ', false)) + for (std::string_view aura : Trinity::Tokenize(fields[13].GetStringView(), ' ', false)) { SpellInfo const* spellInfo = nullptr; if (Optional<uint32> spellId = Trinity::StringTo<uint32>(aura)) @@ -1300,7 +1300,7 @@ void ObjectMgr::LoadCreatureAddons() { uint32 oldMSTime = getMSTime(); - // 0 1 2 3 4 5 6 7 8 9 10 11 12 + // 0 1 2 3 4 5 6 7 8 9 10 11 12 13 QueryResult result = WorldDatabase.Query("SELECT guid, path_id, mount, StandState, AnimTier, VisFlags, SheathState, PvPFlags, emote, aiAnimKit, movementAnimKit, meleeAnimKit, visibilityDistanceType, auras FROM creature_addon"); if (!result) @@ -1344,7 +1344,7 @@ void ObjectMgr::LoadCreatureAddons() creatureAddon.meleeAnimKit = fields[11].GetUInt16(); creatureAddon.visibilityDistanceType = VisibilityDistanceType(fields[12].GetUInt8()); - for (std::string_view aura : Trinity::Tokenize(fields[10].GetStringView(), ' ', false)) + for (std::string_view aura : Trinity::Tokenize(fields[13].GetStringView(), ' ', false)) { SpellInfo const* spellInfo = nullptr; if (Optional<uint32> spellId = Trinity::StringTo<uint32>(aura)) |