1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-14 05:19:36 +00:00

simplified a float

This commit is contained in:
chandler 2020-04-06 17:31:24 -04:00
parent bd23567bfd
commit 83caab6e68

View file

@ -124,7 +124,7 @@ void BgHidanFirewall_Countdown(BgHidanFirewall* this, GlobalContext* globalCtx)
void BgHidanFirewall_Erupt(BgHidanFirewall* this, GlobalContext* globalCtx) { void BgHidanFirewall_Erupt(BgHidanFirewall* this, GlobalContext* globalCtx) {
if (BgHidanFirewall_Proximity(this, globalCtx) != 0) { if (BgHidanFirewall_Proximity(this, globalCtx) != 0) {
Math_ApproxF(&this->actor.scale.y, 0.1f, 0.024999999f); Math_ApproxF(&this->actor.scale.y, 0.1f, 0.01f/0.4f);
} else { } else {
if (Math_ApproxF(&this->actor.scale.y, 0.01f, 0.01f) != 0) { if (Math_ApproxF(&this->actor.scale.y, 0.01f, 0.01f) != 0) {
this->actor.draw = NULL; this->actor.draw = NULL;