diff options
| author | Kenix3 <kenixwhisperwind@gmail.com> | 2023-01-26 18:43:09 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-26 18:43:09 -0500 |
| commit | 47f206825d656bf42bdb8fdc2ccee598dbe5ab00 (patch) | |
| tree | d1f18710314d88b83ef560d6b3194aa8f78f5e16 /soh/src/code/z_camera.c | |
| parent | 569013535e2bce6a573e67553a1115a50eaec629 (diff) | |
Debug camera (#2400)
* Moves SoH mixer to SoH from LUS.
* Debug camera now works in SoH, but mempak saving does not (yet).
* Debug camera is now enabled/disabled based on the gDebugEnabled cvar.
* Updates OTRGlobals comments
* Updates OTRGlobals comments
Diffstat (limited to 'soh/src/code/z_camera.c')
| -rw-r--r-- | soh/src/code/z_camera.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/soh/src/code/z_camera.c b/soh/src/code/z_camera.c index ee999ee3e..81906b1a5 100644 --- a/soh/src/code/z_camera.c +++ b/soh/src/code/z_camera.c @@ -7615,7 +7615,7 @@ Vec3s Camera_Update(Camera* camera) { } // enable/disable debug cam - if (CVarGetInteger("gDebugCamera", 0) && CHECK_BTN_ALL(D_8015BD7C->state.input[2].press.button, BTN_START)) { + if (CVarGetInteger("gDebugEnabled", 0) && CHECK_BTN_ALL(D_8015BD7C->state.input[2].press.button, BTN_START)) { gDbgCamEnabled ^= 1; if (gDbgCamEnabled) { DbgCamera_Enable(&D_8015BD80, camera); |
