mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-07-27 06:46:25 -04:00
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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user