From 8db631c6b66c83a43e591ad744a4941aa5bec005 Mon Sep 17 00:00:00 2001 From: Alexei Kotov Date: Sun, 15 Oct 2023 15:32:59 +0300 Subject: [PATCH] Update BSXFlags test --- apps/openmw_test_suite/nifloader/testbulletnifloader.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/openmw_test_suite/nifloader/testbulletnifloader.cpp b/apps/openmw_test_suite/nifloader/testbulletnifloader.cpp index 8e8d04d93d..306853f87d 100644 --- a/apps/openmw_test_suite/nifloader/testbulletnifloader.cpp +++ b/apps/openmw_test_suite/nifloader/testbulletnifloader.cpp @@ -1144,7 +1144,7 @@ namespace TEST_F(TestBulletNifLoader, bsx_editor_marker_flag_disables_collision_for_markers) { - mNiIntegerExtraData.mData = 32; // BSX flag "editor marker" + mNiIntegerExtraData.mData = 34; // BSXFlags "has collision" | "editor marker" mNiIntegerExtraData.recType = Nif::RC_BSXFlags; mNiTriShape.mExtraList.push_back(Nif::ExtraPtr(&mNiIntegerExtraData)); mNiTriShape.mParents.push_back(&mNiNode); @@ -1154,6 +1154,7 @@ namespace Nif::NIFFile file("test.nif"); file.mRoots.push_back(&mNiNode); file.mHash = mHash; + file.mVersion = Nif::NIFStream::generateVersion(10, 0, 1, 0); const auto result = mLoader.load(file);