mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-16 15:29:55 +00:00
Update BSXFlags test
This commit is contained in:
parent
40313019ef
commit
8db631c6b6
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue