Fix random maps in replay mode
This was SVN commit r10632.
This commit is contained in:
parent
24aa71b566
commit
2d017698e1
@ -1297,7 +1297,8 @@ int CMapReader::ParseEnvironment()
|
|||||||
|
|
||||||
std::wstring skySet;
|
std::wstring skySet;
|
||||||
GET_ENVIRONMENT_PROPERTY(envObj.get(), SkySet, skySet)
|
GET_ENVIRONMENT_PROPERTY(envObj.get(), SkySet, skySet)
|
||||||
pSkyMan->SetSkySet(skySet);
|
if (pSkyMan)
|
||||||
|
pSkyMan->SetSkySet(skySet);
|
||||||
|
|
||||||
CColor sunColor;
|
CColor sunColor;
|
||||||
GET_ENVIRONMENT_PROPERTY(envObj.get(), SunColour, sunColor)
|
GET_ENVIRONMENT_PROPERTY(envObj.get(), SunColour, sunColor)
|
||||||
|
Loading…
Reference in New Issue
Block a user