mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-28 10:36:54 +00:00
Fix bhkConstraintMotorCInfo loading
This commit is contained in:
parent
23f95cf762
commit
c34157fc28
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue