1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-18 18:40:06 +00:00

fixed gmst integers

This commit is contained in:
Marc Zinnschlag 2013-03-05 08:15:03 +01:00
parent ba4907fbaf
commit 1b19ab6028

View File

@ -156,8 +156,8 @@ void ESM::VariantIntegerData::read (ESMReader& esm, Variant::Format format, VarT
} }
else // GMST else // GMST
{ {
if (type==VT_Int) if (type!=VT_Int)
esm.fail ("unsupported global variable integer type"); esm.fail ("unsupported gmst variable integer type");
esm.getHT (mValue); esm.getHT (mValue);
} }