diff --git a/components/nif/data.cpp b/components/nif/data.cpp index aed18619e1..185684e4a3 100644 --- a/components/nif/data.cpp +++ b/components/nif/data.cpp @@ -509,7 +509,7 @@ namespace Nif if (mRotations->mInterpolationType == InterpolationType_XYZ) { if (nif->getVersion() <= NIFStream::generateVersion(10, 1, 0, 0)) - mAxisOrder = static_cast(nif->getInt()); + mAxisOrder = static_cast(nif->get()); mXRotations = std::make_shared(); mYRotations = std::make_shared(); mZRotations = std::make_shared(); diff --git a/components/nif/data.hpp b/components/nif/data.hpp index eaf8120e81..3f548e361c 100644 --- a/components/nif/data.hpp +++ b/components/nif/data.hpp @@ -327,7 +327,7 @@ namespace Nif Vector3KeyMapPtr mTranslations; FloatKeyMapPtr mScales; - enum class AxisOrder + enum class AxisOrder : uint32_t { Order_XYZ = 0, Order_XZY = 1,