fix(Core/Creature): Fix creature template movement field not loading

This commit is contained in:
sogladev 2025-12-29 21:20:52 +01:00 committed by GitHub
parent d66de393dc
commit 73b90a0cf9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -657,7 +657,7 @@ void ObjectMgr::LoadCreatureTemplate(Field* fields, bool triggerHook)
creatureTemplate.MovementType = uint32(fields[43].Get<uint8>());
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>();