Fix bhkConstraintMotorCInfo loading

revert-6246b479
Alexei Kotov 1 year ago
parent 23f95cf762
commit c34157fc28

@ -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:

Loading…
Cancel
Save