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:
Lioncash 2020-03-08 21:20:05 -04:00
parent 2233a78fe2
commit 209cd4a54e
1 changed files with 1 additions and 1 deletions

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 != 0; }
}; };
class CAnimRes { class CAnimRes {