mirror of
https://github.com/zeldaret/mm.git
synced 2026-09-05 10:27:31 -04:00
Misc Cleanup 2 (#1260)
* more misc cleanup * PR suggestions * more abs alt, csId * more cleanup, can't help it * fix incorrect sq * more fixes
This commit is contained in:
+3
-2
@@ -6777,8 +6777,9 @@ s32 Camera_Special5(Camera* camera) {
|
||||
spA4 = BINANG_SUB(focalActorPosRot->rot.y, sp6C.yaw);
|
||||
sp74.r = roData->eyeDist;
|
||||
rand = Rand_ZeroOne();
|
||||
sp74.yaw = BINANG_ROT180(focalActorPosRot->rot.y) +
|
||||
(s16)(spA4 < 0 ? -(s16)(0x1553 + (s16)(rand * 2730.0f)) : (s16)(0x1553 + (s16)(rand * 2730.0f)));
|
||||
sp74.yaw =
|
||||
BINANG_ROT180(focalActorPosRot->rot.y) +
|
||||
(s16)((spA4 < 0) ? -(s16)(0x1553 + (s16)(rand * 2730.0f)) : (s16)(0x1553 + (s16)(rand * 2730.0f)));
|
||||
sp74.pitch = roData->pitch;
|
||||
OLib_AddVecGeoToVec3f(eyeNext, &spA8.pos, &sp74);
|
||||
*eye = *eyeNext;
|
||||
|
||||
Reference in New Issue
Block a user