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:
parent
5909fedf33
commit
a2ebaaaab6
|
@ -1240,13 +1240,13 @@ impl Bullet {
|
||||||
match self.direction {
|
match self.direction {
|
||||||
Direction::Left | Direction::Right => {
|
Direction::Left | Direction::Right => {
|
||||||
self.target_y = self.y;
|
self.target_y = self.y;
|
||||||
self.enemy_hit_height = 0x1000;
|
self.enemy_hit_width = 0x1000;
|
||||||
self.hit_bounds.left = 0x1000;
|
self.hit_bounds.left = 0x1000;
|
||||||
self.hit_bounds.right = 0x1000;
|
self.hit_bounds.right = 0x1000;
|
||||||
}
|
}
|
||||||
Direction::Up | Direction::Bottom => {
|
Direction::Up | Direction::Bottom => {
|
||||||
self.target_x = self.x;
|
self.target_x = self.x;
|
||||||
self.enemy_hit_width = 0x1000;
|
self.enemy_hit_height = 0x1000;
|
||||||
self.hit_bounds.top = 0x1000;
|
self.hit_bounds.top = 0x1000;
|
||||||
self.hit_bounds.bottom = 0x1000;
|
self.hit_bounds.bottom = 0x1000;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue