From abdae818bda2f397c23e41078a4d89079b9fa7b8 Mon Sep 17 00:00:00 2001 From: Dragorn421 Date: Sun, 22 Feb 2026 19:08:12 +0100 Subject: Fix misc 23 (#2699) * remove noop macros Fault_SetFontColor Fault_SetCharPad under PLATFORM_N64 * remove duplicate declarations in sfx.h * use render mode presets more * decimal for alpha values * fix some z_camera comments typos * fix references to preprocess.sh (used to be preprocess.py) * remove outdated comment on deps in makefile * code_800AD920 was renamed to z_viszbuf * fix capitalization typo: gOcarinaofTimeDesignTex -> gOcarinaOfTimeDesignTex * fix typo: gLinkAdultEyesClosedfTex, gLinkChildEyesClosedfTex -> remove extra f * fix typo: gCrstalSwitchRedTex, gCrstalSwitchBlueTex -> gCrystal * fix PARAMS_GET_U amount of bits --- src/code/z_camera.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/code/z_camera.c') diff --git a/src/code/z_camera.c b/src/code/z_camera.c index 803a89400..3baaf6579 100644 --- a/src/code/z_camera.c +++ b/src/code/z_camera.c @@ -6333,8 +6333,8 @@ s32 Camera_Demo5(Camera* camera) { camera->timer += D_8011D79C[2].timerInit + D_8011D79C[3].timerInit; } } else if (eyeTargetDist < 300.0f && eyePlayerGeo.r < 30.0f) { - // distance from the camera's current positon and the target is less than 300 units - // and the distance fromthe camera's current position to the player is less than 30 units + // distance from the camera's current position and the target is less than 300 units + // and the distance from the camera's current position to the player is less than 30 units static OnePointCsFull D_8011D83C[] = { { ONEPOINT_CS_ACTION(ONEPOINT_CS_ACTION_ID_3, false, true), @@ -7237,7 +7237,7 @@ s32 Camera_Special6(Camera* camera) { sCameraInterfaceField = roData->interfaceField; if (eyeNext->x != bgCamPos.x || eyeNext->y != bgCamPos.y || eyeNext->z != bgCamPos.z || camera->animState == 0) { - // A change in the current scene's camera positon has been detected, + // A change in the current scene's camera position has been detected, // Change "screens" camera->player->actor.freezeTimer = 12; // Overwrite hud visibility to CAM_HUD_VISIBILITY_HEARTS_FORCE -- cgit v1.2.3