1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +00:00

Fix material data loading for 10.0.1.0

This commit is contained in:
Alexei Kotov 2023-02-08 13:46:54 +03:00
parent 115c30a573
commit 8ebdd1e4a5

View File

@ -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))