1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2025-06-21 18:51:05 +00:00

Further super missile fix

This commit is contained in:
dawnDus 2022-02-24 22:40:50 -05:00
parent 5909fedf33
commit a2ebaaaab6
No known key found for this signature in database
GPG key ID: 972AABDE81848F21

View file

@ -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;
}