CBomb: Fix boolean parameter not being used within SetFuseDisabled()

Prevents silent logic bugs, particularly given this function is called
with true as well inside CTryclops::InMaxRange.
This commit is contained in:
Lioncash 2020-04-24 01:12:01 -04:00
parent 27861d5c78
commit d7c9135d27
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ public:
std::optional<zeus::CAABox> GetTouchBounds() const override; std::optional<zeus::CAABox> GetTouchBounds() const override;
void SetVelocityWR(const zeus::CVector3f& vel) { x158_velocity = vel; } void SetVelocityWR(const zeus::CVector3f& vel) { x158_velocity = vel; }
void SetConstantAccelerationWR(const zeus::CVector3f& acc) { x164_acceleration = acc; } void SetConstantAccelerationWR(const zeus::CVector3f& acc) { x164_acceleration = acc; }
void SetFuseDisabled(bool b) { x190_26_disableFuse = false; } void SetFuseDisabled(bool disabled) { x190_26_disableFuse = disabled; }
void SetIsBeingDragged(bool b) { x190_25_beingDragged = b; } void SetIsBeingDragged(bool b) { x190_25_beingDragged = b; }
bool IsBeingDragged() const { return x190_25_beingDragged; } bool IsBeingDragged() const { return x190_25_beingDragged; }
}; };