mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-30 07:21:12 +00:00
Fix NiTriStripsData loading
This commit is contained in:
parent
0dcb8c6b69
commit
05cd005b30
@ -145,7 +145,7 @@ void NiTriStripsData::read(NIFStream *nif)
|
|||||||
nif->getUShorts(lengths, numStrips);
|
nif->getUShorts(lengths, numStrips);
|
||||||
|
|
||||||
// "Has Strips" flag. Exceptionally useful.
|
// "Has Strips" flag. Exceptionally useful.
|
||||||
bool hasStrips = false;
|
bool hasStrips = true;
|
||||||
if (nif->getVersion() > NIFFile::NIFVersion::VER_OB_OLD)
|
if (nif->getVersion() > NIFFile::NIFVersion::VER_OB_OLD)
|
||||||
hasStrips = nif->getBoolean();
|
hasStrips = nif->getBoolean();
|
||||||
if (!hasStrips || !numStrips)
|
if (!hasStrips || !numStrips)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user