From 8c1987066f9b95a39f8dcac91242b95e5d85a003 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sat, 9 Nov 2024 08:22:54 -0800 Subject: [PATCH] Wind Waker: Remove some accidentally checked in debug code Fixes #716. --- rust/src/halo/common.rs | 2 +- rust/src/halo/map.rs | 4 ++-- rust/src/halo/model.rs | 2 +- src/ZeldaWindWaker/d_kankyo.ts | 3 --- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/rust/src/halo/common.rs b/rust/src/halo/common.rs index b39d7e00f..0617174af 100644 --- a/rust/src/halo/common.rs +++ b/rust/src/halo/common.rs @@ -1,4 +1,4 @@ -use std::{io::{Cursor, Seek, SeekFrom}}; +use std::io::{Cursor, Seek, SeekFrom}; use byteorder::{ReadBytesExt, LittleEndian}; use num_enum::{TryFromPrimitive, TryFromPrimitiveError}; use wasm_bindgen::prelude::*; diff --git a/rust/src/halo/map.rs b/rust/src/halo/map.rs index 2b6b27be9..1ef593bac 100644 --- a/rust/src/halo/map.rs +++ b/rust/src/halo/map.rs @@ -1,5 +1,5 @@ -use std::{io::{Cursor, Seek, SeekFrom, Read}, convert::{TryFrom}}; -use num_enum::{TryFromPrimitive}; +use std::{io::{Cursor, Seek, SeekFrom, Read}, convert::TryFrom}; +use num_enum::TryFromPrimitive; use crate::halo::common::*; use crate::halo::util::*; diff --git a/rust/src/halo/model.rs b/rust/src/halo/model.rs index 4c6808581..b05c5fe30 100644 --- a/rust/src/halo/model.rs +++ b/rust/src/halo/model.rs @@ -1,4 +1,4 @@ -use std::{io::{Cursor, Seek, SeekFrom}}; +use std::io::{Cursor, Seek, SeekFrom}; use byteorder::{ReadBytesExt, LittleEndian}; use crate::halo::common::*; use crate::halo::tag::*; diff --git a/src/ZeldaWindWaker/d_kankyo.ts b/src/ZeldaWindWaker/d_kankyo.ts index 1d71467df..9ab640388 100644 --- a/src/ZeldaWindWaker/d_kankyo.ts +++ b/src/ZeldaWindWaker/d_kankyo.ts @@ -1159,9 +1159,6 @@ function envcolor_init(globals: dGlobals): void { envLight.timeAdv = 0.02; - envLight.curTime = 180; - envLight.timeAdv = 0; - colorFromRGBA(envLight.lightStatus[0].Color, 1.0, 0.0, 0.0, 0.0); colorFromRGBA(envLight.lightStatus[1].Color, 0.0, 0.0, 0.0, 0.0);