mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-06-17 12:03:34 +00:00
CAreaAttributes: Make constructor explicit
This commit is contained in:
parent
9bcb2f288d
commit
7a6c30861d
@ -13,14 +13,14 @@ class CAreaAttributes
|
||||
CAssetRef mOverrideSky;
|
||||
|
||||
public:
|
||||
CAreaAttributes(CScriptObject *pObj);
|
||||
explicit CAreaAttributes(CScriptObject *pObj);
|
||||
~CAreaAttributes();
|
||||
void SetObject(CScriptObject *pObj);
|
||||
bool IsLayerEnabled() const;
|
||||
bool IsSkyEnabled() const;
|
||||
CModel* SkyModel() const;
|
||||
|
||||
inline CScriptObject* Instance() const { return mpObject; }
|
||||
CScriptObject* Instance() const { return mpObject; }
|
||||
};
|
||||
|
||||
#endif // CAREAATTRIBUTES_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user