1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-30 16:20:21 +00:00

Fix bhkConstraintMotorCInfo loading

This commit is contained in:
Alexei Kotov 2023-07-20 03:14:55 +03:00
parent 23f95cf762
commit c34157fc28

View File

@ -234,7 +234,7 @@ namespace Nif
void bhkConstraintMotorCInfo::read(NIFStream* nif) void bhkConstraintMotorCInfo::read(NIFStream* nif)
{ {
mType = static_cast<hkMotorType>(nif->get<uint32_t>()); mType = static_cast<hkMotorType>(nif->get<uint8_t>());
switch (mType) switch (mType)
{ {
case hkMotorType::Motor_Position: case hkMotorType::Motor_Position: