1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-15 06:06:04 +00:00

Fix missing DEG_TO_BINANG2 (#2059)

This commit is contained in:
cadmic 2024-08-19 16:15:14 -07:00 committed by GitHub
parent ebbc820ef6
commit aba1bb88a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -438,7 +438,7 @@ void func_80A4F13C(EnGs* this, PlayState* play) {
} }
} }
if (this->unk_19F == 4) { if (this->unk_19F == 4) {
tmpf1 = Math_SmoothStepToF(&this->unk_1E8, this->unk_1EC, 0.8f, DEG_TO_BINANG2(90.0f), 3640.0f); tmpf1 = Math_SmoothStepToF(&this->unk_1E8, this->unk_1EC, 0.8f, DEG_TO_BINANG2(90.0f), DEG_TO_BINANG2(20.0f));
this->unk_1A0[0].y += (s16)this->unk_1E8; this->unk_1A0[0].y += (s16)this->unk_1E8;
if (tmpf1 == 0.0f) { if (tmpf1 == 0.0f) {