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:
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…
x
Reference in New Issue
Block a user