Skip to content

Commit

Permalink
Wind Waker: Remove some accidentally checked in debug code
Browse files Browse the repository at this point in the history
Fixes #716.
  • Loading branch information
magcius committed Nov 9, 2024
1 parent af0768d commit 8c19870
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion rust/src/halo/common.rs
Original file line number Diff line number Diff line change
@@ -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::*;
Expand Down
4 changes: 2 additions & 2 deletions rust/src/halo/map.rs
Original file line number Diff line number Diff line change
@@ -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::*;
Expand Down
2 changes: 1 addition & 1 deletion rust/src/halo/model.rs
Original file line number Diff line number Diff line change
@@ -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::*;
Expand Down
3 changes: 0 additions & 3 deletions src/ZeldaWindWaker/d_kankyo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 8c19870

Please sign in to comment.