1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-22 12:39:59 +00:00

Stop warning about unused nif properties

This commit is contained in:
scrawl 2015-03-25 05:29:00 +01:00
parent d2f8f81dd9
commit b7867d6f0a

View File

@ -38,7 +38,10 @@ void Node::getProperties(const Nif::NiTexturingProperty *&texprop,
wireprop = static_cast<const Nif::NiWireframeProperty*>(pr);
else if (pr->recType == Nif::RC_NiStencilProperty)
stencilprop = static_cast<const Nif::NiStencilProperty*>(pr);
else
// the following are unused by the MW engine
else if (pr->recType != Nif::RC_NiFogProperty
&& pr->recType != Nif::RC_NiDitherProperty
&& pr->recType != Nif::RC_NiShadeProperty)
std::cerr<< "Unhandled property type: "<<pr->recName <<std::endl;
}
}