mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-13 18:45:52 +00:00
CPowerBomb: Return std::nullopt in GetTouchBounds()
Avoids unnecessary zeroing of the internal buffer of std::optional in some implementations (libstdc++ and libc++).
This commit is contained in:
parent
cda5a48970
commit
6365f2ee1c
@ -29,7 +29,7 @@ public:
|
||||
void Think(float, CStateManager&) override;
|
||||
void AddToRenderer(const zeus::CFrustum&, const CStateManager&) const override;
|
||||
void Render(const CStateManager&) const override {}
|
||||
std::optional<zeus::CAABox> GetTouchBounds() const override { return {}; }
|
||||
std::optional<zeus::CAABox> GetTouchBounds() const override { return std::nullopt; }
|
||||
void Touch(CActor&, CStateManager&) override { /*x158_24_canStartFilter; */
|
||||
}
|
||||
float GetCurTime() const { return x15c_curTime; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user