mirror of https://github.com/AxioDL/metaforce.git
CStaticRes: Make operator bool explicit
Prevents potentially error-prone conversions to bool. Similar to the changes recently made to CToken.
This commit is contained in:
parent
2233a78fe2
commit
209cd4a54e
|
@ -32,7 +32,7 @@ public:
|
|||
|
||||
CAssetId GetId() const { return x0_cmdlId; }
|
||||
const zeus::CVector3f& GetScale() const { return x4_scale; }
|
||||
operator bool() const { return x0_cmdlId != 0; }
|
||||
explicit operator bool() const { return x0_cmdlId != 0; }
|
||||
};
|
||||
|
||||
class CAnimRes {
|
||||
|
|
Loading…
Reference in New Issue