1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-30 03:15:32 +00:00

Fix NiTriStripsData loading

This commit is contained in:
Alexei Dobrohotov 2020-10-09 19:37:54 +03:00
parent 0dcb8c6b69
commit 05cd005b30

View file

@ -145,7 +145,7 @@ void NiTriStripsData::read(NIFStream *nif)
nif->getUShorts(lengths, numStrips);
// "Has Strips" flag. Exceptionally useful.
bool hasStrips = false;
bool hasStrips = true;
if (nif->getVersion() > NIFFile::NIFVersion::VER_OB_OLD)
hasStrips = nif->getBoolean();
if (!hasStrips || !numStrips)