summaryrefslogtreecommitdiffhomepage
path: root/not/PhysicalBody.lua
diff options
context:
space:
mode:
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()