From cdec3cf410bba80d037fda760da06e9e3ed75945 Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 20 Sep 2017 15:43:08 +0200 Subject: Removed obsolete verbose call of addFixture --- not/Trap.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'not/Trap.lua') diff --git a/not/Trap.lua b/not/Trap.lua index 2ebb4d2..84de5b0 100644 --- a/not/Trap.lua +++ b/not/Trap.lua @@ -29,7 +29,7 @@ function Trap:new (direction, x, y, world, imagePath) local mirror = 1 if direction == "left" then mirror = -1 end - local fixture = Trap.__super.addFixture(self, {0, 0, 41 * mirror, 0, 41 * mirror, 18, 0, 18}) + local fixture = self:addFixture({0, 0, 41 * mirror, 0, 41 * mirror, 18, 0, 18}) fixture:setCategory(3) fixture:setMask(1) fixture:setUserData({0, direction}) -- cgit v1.1