summaryrefslogtreecommitdiff
path: root/soh/src/code
diff options
context:
space:
mode:
authorbriaguya <70942617+briaguya-ai@users.noreply.github.com>2024-02-15 21:13:49 -0500
committerGitHub <noreply@github.com>2024-02-15 20:13:49 -0600
commit1bc15d5bf3042d4fd64e1952eb68c47a7d5d8061 (patch)
tree457ee652c4b70ce50a326f8cc548424711075a55 /soh/src/code
parente05f558ef33a9630a8dea003e5b191521fb5a7c2 (diff)
document dependencies per distro (#3933)
* start on arch * noconfirm * git * noconfirm * just skip cache * cmake * ninja * gcc * lsb * sdl2 * png * sdl net * boost * imagemagick and add opensuse * non interactive * git * cmake * add a bunch * things * more * try to matrix * soh otr i guess * needs * trying to figure out how matrix include works * make the matrix? * matrix debug * install? * echo? * yuck * cannot locate package false * parens for good measure * lsb * libsdl2 * suse * i forgot opensuse uses gcc-c++ instead of g++ for the package name * png * sdl * more * suse packages.... * fedora cmake * 2? * png * handle old sdl2 net * apt * not sure if this is a problem for both clang and gcc on opensuse or just clang * devel * cmake min version * def don't want this here but it's here for now * does this do anything * mantic because cmake version * libopengl? * fedora ninja * fedora g++ * lsb * fedora sdl * libpng * do a build * clang fix * give early returns values * ImageMagick * Update BUILDING.md * something * plain boost instead of devel? * not packing so we don't need this part * base? * don't have it can't need it * just use boost download on opensuse i guess * move workflow * bring back the file * lus main? * detach
Diffstat (limited to 'soh/src/code')
-rw-r--r--soh/src/code/z_camera.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/soh/src/code/z_camera.c b/soh/src/code/z_camera.c
index b5a0318f6..90634ea31 100644
--- a/soh/src/code/z_camera.c
+++ b/soh/src/code/z_camera.c
@@ -1679,7 +1679,9 @@ s32 Camera_Normal1(Camera* camera) {
if (anim->startSwingTimer <= 0) {
// idle camera re-center
- if (CVarGetInteger("gA11yDisableIdleCam", 0)) return;
+ if (CVarGetInteger("gA11yDisableIdleCam", 0)) {
+ return 1;
+ }
eyeAdjustment.pitch = atEyeNextGeo.pitch;
eyeAdjustment.yaw =
Camera_LERPCeilS(anim->swingYawTarget, atEyeNextGeo.yaw, 1.0f / camera->yawUpdateRateInv, 0xA);