Fixes crash when using serialization test mode
This was SVN commit r12928.
This commit is contained in:
parent
e91a918164
commit
17a50c8d93
@ -688,6 +688,7 @@ void CXMLReader::ReadEnvironment(XMBElement parent)
|
|||||||
}
|
}
|
||||||
else if (element_name == el_posteffect)
|
else if (element_name == el_posteffect)
|
||||||
{
|
{
|
||||||
|
if (m_MapReader.pPostproc)
|
||||||
m_MapReader.pPostproc->SetPostEffect(postproc.GetText().FromUTF8());
|
m_MapReader.pPostproc->SetPostEffect(postproc.GetText().FromUTF8());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user