mirror of
https://github.com/zeldaret/oot.git
synced 2024-12-27 07:07:09 +00:00
simplified a float
This commit is contained in:
parent
bd23567bfd
commit
83caab6e68
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ void BgHidanFirewall_Countdown(BgHidanFirewall* this, GlobalContext* globalCtx)
|
|||
|
||||
void BgHidanFirewall_Erupt(BgHidanFirewall* this, GlobalContext* globalCtx) {
|
||||
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 {
|
||||
if (Math_ApproxF(&this->actor.scale.y, 0.01f, 0.01f) != 0) {
|
||||
this->actor.draw = NULL;
|
||||
|
|
Loading…
Reference in a new issue