mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 19:07:46 +00:00
CFlameThrower: Amend virtual interface discrepancies
GM8E v0 overrides Render(), GetTouchBounds() and Touch() and does nothing within them. This updates the interface to match it.
This commit is contained in:
@@ -95,6 +95,12 @@ void CFlameThrower::AddToRenderer(const zeus::CFrustum&, const CStateManager& mg
|
||||
EnsureRendered(mgr, x2e8_flameXf.origin, GetRenderBounds());
|
||||
}
|
||||
|
||||
void CFlameThrower::Render(const CStateManager&) const {}
|
||||
|
||||
std::optional<zeus::CAABox> CFlameThrower::GetTouchBounds() const { return std::nullopt; }
|
||||
|
||||
void CFlameThrower::Touch(CActor&, CStateManager&) {}
|
||||
|
||||
void CFlameThrower::SetFlameLightActive(CStateManager& mgr, bool active) {
|
||||
if (x2c8_projectileLight == kInvalidUniqueId)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user