Skip to content
Snippets Groups Projects
Commit 20fb41b0 authored by Amorilia's avatar Amorilia
Browse files

Cast fix in test.

parent 4f63f370
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@ BOOST_AUTO_TEST_CASE(bslightingshaderproperty_test)
// create a simple nif tree with BSLightingShaderProperty
NiTriShapeRef shape = new NiTriShape;
BSLightingShaderPropertyRef prop = new BSLightingShaderProperty;
shape->SetBSProperty(0, StaticCast<NiPropertyRef>(prop));
shape->SetBSProperty(0, StaticCast<NiProperty>(prop));
BOOST_CHECK_NO_THROW(WriteNifTree(ss, shape));
ss.seekg(0);
NiObjectRef root;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment