mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-08-08 22:59:06 +00:00
Merge pull request #202 from lioncash/bool
CStaticRes: Make operator bool explicit
This commit is contained in:
commit
1a131907ef
@ -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.IsValid(); }
|
||||
};
|
||||
|
||||
class CAnimRes {
|
||||
|
Loading…
x
Reference in New Issue
Block a user