diff options
author | Aki <nthirtyone@gmail.com> | 2017-09-12 19:27:32 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2017-09-12 19:27:32 +0200 |
commit | c201bef4950138bd8c475d9b8cd1c26e0615145a (patch) | |
tree | af7f92f17b6eb1a8c72ed9bd3ba34e3455834b97 /not/PhysicalBody.lua | |
parent | 6094b7eb9cbe915e02e02908b77549223f585014 (diff) | |
download | roflnauts-c201bef4950138bd8c475d9b8cd1c26e0615145a.zip roflnauts-c201bef4950138bd8c475d9b8cd1c26e0615145a.tar.gz roflnauts-c201bef4950138bd8c475d9b8cd1c26e0615145a.tar.bz2 |
Removed obsolete offsets and scale from draw of Sprites and children
Diffstat (limited to 'not/PhysicalBody.lua')
-rw-r--r-- | not/PhysicalBody.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/not/PhysicalBody.lua b/not/PhysicalBody.lua index 1b2e90d..01a725b 100644 --- a/not/PhysicalBody.lua +++ b/not/PhysicalBody.lua @@ -63,8 +63,8 @@ function PhysicalBody:update (dt) end -- Draw of `PhysicalBody`. -function PhysicalBody:draw (offset_x, offset_y, scale, debug) - PhysicalBody.__super.draw(self, offset_x, offset_y, scale) +function PhysicalBody:draw (debug) + PhysicalBody.__super.draw(self, debug) if debug then for _,fixture in pairs(self.body:getFixtureList()) do local category = fixture:getCategory() |