Minor CAreaAttributes fix
This commit is contained in:
parent
8d90cd7e01
commit
4fc83f735b
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue