z_olib.c OK and Documented (#202)

* z_olib.c OK

* Clean-Up Clamp

* Take out extra space
This commit is contained in:
engineer124
2021-07-14 11:59:04 +10:00
committed by GitHub
parent 5fcd494a7a
commit fe6cce76dc
13 changed files with 371 additions and 72 deletions
+1 -1
View File
@@ -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;