From 790531671a6e44d02b10dca77fa95a35b99d0d0f Mon Sep 17 00:00:00 2001 From: Capostrophic Date: Fri, 13 Sep 2019 21:29:49 +0300 Subject: [PATCH] Fix tests --- apps/openmw_test_suite/nifloader/testbulletnifloader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/openmw_test_suite/nifloader/testbulletnifloader.cpp b/apps/openmw_test_suite/nifloader/testbulletnifloader.cpp index 7598b63b0..b02b8b9ef 100644 --- a/apps/openmw_test_suite/nifloader/testbulletnifloader.cpp +++ b/apps/openmw_test_suite/nifloader/testbulletnifloader.cpp @@ -208,7 +208,7 @@ namespace void init(Nif::Extra& value) { - value.extra = Nif::ExtraPtr(nullptr); + value.next = Nif::ExtraPtr(nullptr); } void init(Nif::Named& value) @@ -879,7 +879,7 @@ namespace TEST_F(TestBulletNifLoader, for_tri_shape_child_node_with_not_first_extra_data_string_starting_with_nc_should_return_shape_with_null_collision_shape) { - mNiStringExtraData.extra = Nif::ExtraPtr(&mNiStringExtraData2); + mNiStringExtraData.next = Nif::ExtraPtr(&mNiStringExtraData2); mNiStringExtraData2.string = "NC___"; mNiStringExtraData2.recType = Nif::RC_NiStringExtraData; mNiTriShape.extra = Nif::ExtraPtr(&mNiStringExtraData);