Fix tests

pull/541/head
Capostrophic 5 years ago
parent 8baddefdbd
commit 790531671a

@ -208,7 +208,7 @@ namespace
void init(Nif::Extra& value) void init(Nif::Extra& value)
{ {
value.extra = Nif::ExtraPtr(nullptr); value.next = Nif::ExtraPtr(nullptr);
} }
void init(Nif::Named& value) 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) 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.string = "NC___";
mNiStringExtraData2.recType = Nif::RC_NiStringExtraData; mNiStringExtraData2.recType = Nif::RC_NiStringExtraData;
mNiTriShape.extra = Nif::ExtraPtr(&mNiStringExtraData); mNiTriShape.extra = Nif::ExtraPtr(&mNiStringExtraData);

Loading…
Cancel
Save