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 { 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(); }