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