mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-26 20:37:25 +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);
|
||||
|
||||
// "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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user