mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-07 12:54:00 +00:00
fixed write function for ESM variant type
This commit is contained in:
parent
5779f799ab
commit
4ea5191d7d
@ -193,7 +193,7 @@ void ESM::VariantIntegerData::write (ESMWriter& esm, Variant::Format format, Var
|
||||
}
|
||||
else if (format==Variant::Format_Gmst || format==Variant::Format_Info)
|
||||
{
|
||||
if (type==VT_Int)
|
||||
if (type!=VT_Int)
|
||||
{
|
||||
std::ostringstream stream;
|
||||
stream
|
||||
|
Loading…
Reference in New Issue
Block a user