fix eternal horizontal bullets

This commit is contained in:
2025-06-20 18:51:58 -07:00
parent 0f791b193c
commit c01c3400b7

View File

@ -820,7 +820,7 @@ function bullet_base:move()
self.x += self.dx self.x += self.dx
self.y += self.dy self.y += self.dy
if (self.f) self.f -= 1 if (self.f) self.f -= 1
if (self.y > 145) or (self.y < -8 * self.height) or (self.f and self.f < 0) then if (self.y > 145) or (self.y < -64) or (self.f and self.f < 0) or (self.x > 256) or (self.x < -128) then
self:die() self:die()
return true return true
end end