mirror of
https://github.com/zeldaret/mm.git
synced 2026-09-09 11:44:10 -04:00
z_olib.c OK and Documented (#202)
* z_olib.c OK * Clean-Up Clamp * Take out extra space
This commit is contained in:
+1
-1
@@ -520,7 +520,7 @@ s32 Actor_IsActorFacedByActor(Actor* actor, Actor* other, s16 tolerance) {
|
||||
s16 angle;
|
||||
s16 dist;
|
||||
|
||||
angle = Actor_YawBetweenActors(actor, other) + 0x8000;
|
||||
angle = BINANG_ROT180(Actor_YawBetweenActors(actor, other));
|
||||
dist = angle - other->shape.rot.y;
|
||||
if (ABS_ALT(dist) < tolerance) {
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user