bullet_base:die doesn't actually make sense
This commit is contained in:
		| @@ -809,22 +809,14 @@ remainder: | ||||
| end | ||||
|  | ||||
| function bullet_base:hitship(_) | ||||
|  self:die() | ||||
|  return true | ||||
| end | ||||
|  | ||||
| function bullet_base:die() | ||||
| end | ||||
|  | ||||
| function bullet_base:move() | ||||
|  self.x += self.dx | ||||
|  self.y += self.dy | ||||
|  if (self.f) self.f -= 1 | ||||
|  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() | ||||
|   return true | ||||
|  end | ||||
|  return false | ||||
|  return (self.y > 145) or (self.y < -64) or (self.f and self.f < 0) or (self.x > 256) or (self.x < -128) | ||||
| end | ||||
|  | ||||
| function bullet_base:draw() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user