mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 02:27:43 +00:00
Windows fixes
This commit is contained in:
@@ -130,7 +130,7 @@ void CBomb::Touch(CActor&, urde::CStateManager&) {
|
||||
#endif
|
||||
}
|
||||
|
||||
std::experimental::optional<zeus::CAABox> CBomb::GetTouchBounds() const {
|
||||
rstl::optional<zeus::CAABox> CBomb::GetTouchBounds() const {
|
||||
float radius = (x190_24_isNotDetonated ? 0.2f : x12c_curDamageInfo.GetRadius());
|
||||
float minX = (x170_prevLocation.x() >= GetTranslation().x() ? x170_prevLocation.x() : GetTranslation().x()) - radius;
|
||||
float minY = (x170_prevLocation.y() >= GetTranslation().y() ? x170_prevLocation.y() : GetTranslation().y()) - radius;
|
||||
|
||||
Reference in New Issue
Block a user