mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-17 17:05:37 +00:00
Added new batch of script object icons + some fixes
This commit is contained in:
@@ -46,12 +46,12 @@ CModel* CAreaAttributes::SkyModel()
|
||||
switch (mGame)
|
||||
{
|
||||
case ePrime:
|
||||
return (CModel*) static_cast<TFileProperty*>(pBaseStruct->PropertyByIndex(7))->Get().RawPointer();
|
||||
case eEchoesDemo:
|
||||
case eEchoes:
|
||||
return (CModel*) static_cast<TFileProperty*>(pBaseStruct->PropertyByID(0xD208C9FA))->Get().RawPointer();
|
||||
case eCorruptionProto:
|
||||
case eCorruption:
|
||||
return (CModel*) static_cast<TFileProperty*>(pBaseStruct->PropertyByIndex(8))->Get().RawPointer();
|
||||
return (CModel*) static_cast<TFileProperty*>(pBaseStruct->PropertyByID(0xD208C9FA))->Get().RawPointer();
|
||||
default:
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ public:
|
||||
};
|
||||
|
||||
/*
|
||||
* __CProperty is a template subclass for actual properties.
|
||||
* TTypedProperty is a template subclass for actual properties.
|
||||
*/
|
||||
template <typename PropType, EPropertyType TypeEnum, class ValueClass>
|
||||
class TTypedProperty : public IProperty
|
||||
|
||||
Reference in New Issue
Block a user