mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 16:15:31 +00:00
Fix NiTriStripsData loading
This commit is contained in:
parent
0dcb8c6b69
commit
05cd005b30
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue