Minor CAreaAttributes fix
This commit is contained in:
parent
8d90cd7e01
commit
4fc83f735b
|
@ -30,9 +30,8 @@ bool CAreaAttributes::IsSkyEnabled()
|
|||
{
|
||||
case ePrime:
|
||||
case eEchoes:
|
||||
return static_cast<CBoolProperty*>(pBaseStruct->PropertyByIndex(1))->Get();
|
||||
case eCorruption:
|
||||
return static_cast<CBoolProperty*>(pBaseStruct->PropertyByIndex(9))->Get();
|
||||
return static_cast<CBoolProperty*>(pBaseStruct->PropertyByIndex(1))->Get();
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue