diff --git a/components/nif/node.cpp b/components/nif/node.cpp index 118329fa53..3f12f23840 100644 --- a/components/nif/node.cpp +++ b/components/nif/node.cpp @@ -342,7 +342,7 @@ namespace Nif if (nif->getBethVersion() == NIFFile::BethVersion::BETHVER_F76) { - nif->readVector(mBoundMinMax, 6); + nif->readArray(mBoundMinMax); } mSkin.read(nif); diff --git a/components/nif/node.hpp b/components/nif/node.hpp index 38ff36049c..dacaa1e823 100644 --- a/components/nif/node.hpp +++ b/components/nif/node.hpp @@ -356,7 +356,7 @@ namespace Nif struct BSTriShape : Node { NiBoundingVolume::NiSphereBV mBoundingSphere; - std::vector mBoundMinMax; + std::array mBoundMinMax; NiSkinInstancePtr mSkin; BSShaderPropertyPtr mShaderProperty;