2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-08-08 17:39:05 +00:00

Merge pull request #202 from lioncash/bool

CStaticRes: Make operator bool explicit
This commit is contained in:
Phillip Stephens 2020-03-08 19:52:08 -07:00 committed by GitHub
commit 1a131907ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ public:
CAssetId GetId() const { return x0_cmdlId; } CAssetId GetId() const { return x0_cmdlId; }
const zeus::CVector3f& GetScale() const { return x4_scale; } 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 { class CAnimRes {