diff --git a/components/nif/physics.cpp b/components/nif/physics.cpp index af4a573707..513639f5ac 100644 --- a/components/nif/physics.cpp +++ b/components/nif/physics.cpp @@ -234,7 +234,7 @@ namespace Nif void bhkConstraintMotorCInfo::read(NIFStream* nif) { - mType = static_cast(nif->get()); + mType = static_cast(nif->get()); switch (mType) { case hkMotorType::Motor_Position: