Skip to content

Commit

Permalink
Use === instead of ==
Browse files Browse the repository at this point in the history
  • Loading branch information
themikelester committed Dec 24, 2024
1 parent db62967 commit 3fba4cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ZeldaWindWaker/Main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3fba4cd

Please sign in to comment.