mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
Update BSXFlags test
This commit is contained in:
parent
40313019ef
commit
8db631c6b6
@ -1144,7 +1144,7 @@ namespace
|
|||||||
|
|
||||||
TEST_F(TestBulletNifLoader, bsx_editor_marker_flag_disables_collision_for_markers)
|
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;
|
mNiIntegerExtraData.recType = Nif::RC_BSXFlags;
|
||||||
mNiTriShape.mExtraList.push_back(Nif::ExtraPtr(&mNiIntegerExtraData));
|
mNiTriShape.mExtraList.push_back(Nif::ExtraPtr(&mNiIntegerExtraData));
|
||||||
mNiTriShape.mParents.push_back(&mNiNode);
|
mNiTriShape.mParents.push_back(&mNiNode);
|
||||||
@ -1154,6 +1154,7 @@ namespace
|
|||||||
Nif::NIFFile file("test.nif");
|
Nif::NIFFile file("test.nif");
|
||||||
file.mRoots.push_back(&mNiNode);
|
file.mRoots.push_back(&mNiNode);
|
||||||
file.mHash = mHash;
|
file.mHash = mHash;
|
||||||
|
file.mVersion = Nif::NIFStream::generateVersion(10, 0, 1, 0);
|
||||||
|
|
||||||
const auto result = mLoader.load(file);
|
const auto result = mLoader.load(file);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user