From a2ebaaaab66d38c7d0b81bb954b1f190a827bc24 Mon Sep 17 00:00:00 2001 From: dawnDus <96957561+dawndus@users.noreply.github.com> Date: Thu, 24 Feb 2022 22:40:50 -0500 Subject: [PATCH] Further super missile fix --- src/weapon/bullet.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/weapon/bullet.rs b/src/weapon/bullet.rs index 68528dc..abd271a 100644 --- a/src/weapon/bullet.rs +++ b/src/weapon/bullet.rs @@ -1240,13 +1240,13 @@ impl Bullet { match self.direction { Direction::Left | Direction::Right => { self.target_y = self.y; - self.enemy_hit_height = 0x1000; + self.enemy_hit_width = 0x1000; self.hit_bounds.left = 0x1000; self.hit_bounds.right = 0x1000; } Direction::Up | Direction::Bottom => { self.target_x = self.x; - self.enemy_hit_width = 0x1000; + self.enemy_hit_height = 0x1000; self.hit_bounds.top = 0x1000; self.hit_bounds.bottom = 0x1000; }