From 3fba4cdc6d40a15f3b858f7865682c9b4a6cb7d0 Mon Sep 17 00:00:00 2001 From: Mike Lester Date: Tue, 24 Dec 2024 02:47:58 -0700 Subject: [PATCH] Use === instead of == --- src/ZeldaWindWaker/Main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ZeldaWindWaker/Main.ts b/src/ZeldaWindWaker/Main.ts index fb2eb915a..a6d679b94 100644 --- a/src/ZeldaWindWaker/Main.ts +++ b/src/ZeldaWindWaker/Main.ts @@ -267,7 +267,7 @@ class dCamera_c { // From dCamera_c::CalcTrimSize() // Animate up to the trim size for the current mode. - if(this.cameraMode == CameraMode.Cinematic) { + if(this.cameraMode === CameraMode.Cinematic) { this.trimHeight += (dCamera_c.trimHeightCinematic - this.trimHeight) * 0.25; } else { this.trimHeight += -this.trimHeight * 0.25;