mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-18 01:15:26 +00:00
Minor CAreaAttributes fix
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user