Minor CAreaAttributes fix

This commit is contained in:
parax0 2015-08-08 16:38:17 -04:00
parent 8d90cd7e01
commit 4fc83f735b
1 changed files with 1 additions and 2 deletions

View File

@ -30,9 +30,8 @@ bool CAreaAttributes::IsSkyEnabled()
{ {
case ePrime: case ePrime:
case eEchoes: case eEchoes:
return static_cast<CBoolProperty*>(pBaseStruct->PropertyByIndex(1))->Get();
case eCorruption: case eCorruption:
return static_cast<CBoolProperty*>(pBaseStruct->PropertyByIndex(9))->Get(); return static_cast<CBoolProperty*>(pBaseStruct->PropertyByIndex(1))->Get();
default: default:
return false; return false;
} }