Fixes crash when using serialization test mode

This was SVN commit r12928.
This commit is contained in:
historic_bruno 2012-12-03 19:00:20 +00:00
parent e91a918164
commit 17a50c8d93

View File

@ -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());
} }
} }