1
0
forked from 0ad/0ad

Fix random maps in replay mode

This was SVN commit r10632.
This commit is contained in:
Ykkrosh 2011-11-29 20:29:06 +00:00
parent 24aa71b566
commit 2d017698e1

View File

@ -1297,7 +1297,8 @@ int CMapReader::ParseEnvironment()
std::wstring skySet;
GET_ENVIRONMENT_PROPERTY(envObj.get(), SkySet, skySet)
pSkyMan->SetSkySet(skySet);
if (pSkyMan)
pSkyMan->SetSkySet(skySet);
CColor sunColor;
GET_ENVIRONMENT_PROPERTY(envObj.get(), SunColour, sunColor)