mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 07:07:42 +00:00
CWaveBuster: Implement GetTouchBounds()
Implements GetTouchBounds() according to the implementation within the GM8E v0 binary. Fills out the implementation of CWaveBuster a little bit.
This commit is contained in:
@@ -37,4 +37,12 @@ void CWaveBuster::ResetBeam(bool deactivate) {}
|
||||
|
||||
void CWaveBuster::SetNewTarget(TUniqueId id) {}
|
||||
|
||||
std::optional<zeus::CAABox> CWaveBuster::GetTouchBounds() const {
|
||||
if (x3d0_28_) {
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
return GetProjectileBounds();
|
||||
}
|
||||
|
||||
} // namespace urde
|
||||
|
||||
Reference in New Issue
Block a user