mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
fix(Core/Creature): Fix creature template movement field not loading
This commit is contained in:
@@ -657,7 +657,7 @@ void ObjectMgr::LoadCreatureTemplate(Field* fields, bool triggerHook)
|
|||||||
creatureTemplate.MovementType = uint32(fields[43].Get<uint8>());
|
creatureTemplate.MovementType = uint32(fields[43].Get<uint8>());
|
||||||
if (!fields[44].IsNull())
|
if (!fields[44].IsNull())
|
||||||
{
|
{
|
||||||
creatureTemplate.Movement.Ground = static_cast<CreatureGroundMovementType>(fields[48].Get<uint8>());
|
creatureTemplate.Movement.Ground = static_cast<CreatureGroundMovementType>(fields[44].Get<uint8>());
|
||||||
}
|
}
|
||||||
|
|
||||||
creatureTemplate.Movement.Swim = fields[45].Get<bool>();
|
creatureTemplate.Movement.Swim = fields[45].Get<bool>();
|
||||||
|
|||||||
Reference in New Issue
Block a user