Skip to content

Commit

Permalink
fixed the fix for the bomb :D
Browse files Browse the repository at this point in the history
  • Loading branch information
Lars L committed Jun 1, 2020
1 parent dd07258 commit 445088e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/objects/bomb.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function Bomb:init(level, dx, dy, parent)
self.bounciness = .6
local bx = parent.pos.x+parent.dim.w/2-self.dim.w/2-.5
local by = parent.pos.y+parent.dim.h/2-self.dim.h/2-2
Actor.init(self, level, bx, by, {collide=true, canDie=true})
Actor.init(self, level, bx, by, {collide=true})
local dx = dx-parent.pos.x+parent.dim.w/2
local dy = dy-parent.pos.y+parent.dim.h/2
local angle = math.sqrt(dx*dx+dy*dy)
Expand Down

0 comments on commit 445088e

Please sign in to comment.