Fix material data loading for 10.0.1.0

7220-lua-add-a-general-purpose-lexical-parser
Alexei Kotov 2 years ago
parent 115c30a573
commit 8ebdd1e4a5

@ -144,7 +144,7 @@ namespace Nif
void NiGeometry::MaterialData::read(NIFStream* nif)
{
if (nif->getVersion() <= NIFStream::generateVersion(10, 0, 1, 0))
if (nif->getVersion() < NIFStream::generateVersion(10, 0, 1, 0))
return;
unsigned int num = 0;
if (nif->getVersion() <= NIFStream::generateVersion(20, 1, 0, 3))

Loading…
Cancel
Save