summaryrefslogtreecommitdiffhomepage
path: root/not/PhysicalBody.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-09-12 19:27:32 +0200
committerAki <nthirtyone@gmail.com>2017-09-12 19:27:32 +0200
commitc201bef4950138bd8c475d9b8cd1c26e0615145a (patch)
treeaf7f92f17b6eb1a8c72ed9bd3ba34e3455834b97 /not/PhysicalBody.lua
parent6094b7eb9cbe915e02e02908b77549223f585014 (diff)
downloadroflnauts-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.lua4
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()