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:
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) {
|
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;
|
||||||
|
|
Loading…
Reference in a new issue