forked from mirror/openmw-tes3mp
fixed NIF loader problem with NiTriShape as root node
This commit is contained in:
parent
7e4f655939
commit
a8f4b3e66c
1 changed files with 1 additions and 1 deletions
|
@ -604,7 +604,7 @@ void NIFLoader::loadResource(Resource *resource)
|
||||||
Record *r = nif.getRecord(0);
|
Record *r = nif.getRecord(0);
|
||||||
assert(r != NULL);
|
assert(r != NULL);
|
||||||
|
|
||||||
if(r->recType != RC_NiNode)
|
if(r->recType != RC_NiNode && r->recType != RC_NiTriShape)
|
||||||
{
|
{
|
||||||
warn("First record in file was not a NiNode, but a " +
|
warn("First record in file was not a NiNode, but a " +
|
||||||
r->recName.toString() + ". Skipping file.");
|
r->recName.toString() + ". Skipping file.");
|
||||||
|
|
Loading…
Reference in a new issue