From 76526df4008f27fe8c24a856a44055e3c2645d93 Mon Sep 17 00:00:00 2001 From: Alula Date: Mon, 7 Dec 2020 00:47:26 +0100 Subject: [PATCH 1/2] Disable console on Windows release builds --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs b/src/main.rs index 7a93c43..e903cbd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,5 @@ +#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] + fn main() { doukutsu_rs::init().unwrap(); } From 4b0217a0a5946444a6f3f52fd501c79462ba4109 Mon Sep 17 00:00:00 2001 From: Alula Date: Mon, 7 Dec 2020 00:48:12 +0100 Subject: [PATCH 2/2] remove stray characters in bullet.rs --- src/bullet.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bullet.rs b/src/bullet.rs index c62e0b9..17ec230 100644 --- a/src/bullet.rs +++ b/src/bullet.rs @@ -605,7 +605,7 @@ impl PhysicalEntity for Bullet { let mut npc = NPCMap::create_npc(4, &state.npc_table); npc.cond.set_alive(true); npc.direction = Direction::Left; - npc.x = (x * 16 + 8) * 0x200;sta + npc.x = (x * 16 + 8) * 0x200; npc.y = (y * 16 + 8) * 0x200; for _ in 0..4 {