summaryrefslogtreecommitdiffhomepage
path: root/not/Trap.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-09-20 15:43:08 +0200
committerAki <nthirtyone@gmail.com>2017-09-20 15:43:08 +0200
commitcdec3cf410bba80d037fda760da06e9e3ed75945 (patch)
treeea27bbb40676a7eece5e071291cf311911af02e4 /not/Trap.lua
parentf2979320625eceeaadd594ccf6bad6c6b2543aff (diff)
downloadroflnauts-cdec3cf410bba80d037fda760da06e9e3ed75945.zip
roflnauts-cdec3cf410bba80d037fda760da06e9e3ed75945.tar.gz
roflnauts-cdec3cf410bba80d037fda760da06e9e3ed75945.tar.bz2
Removed obsolete verbose call of addFixture
Diffstat (limited to 'not/Trap.lua')
-rw-r--r--not/Trap.lua2
1 files changed, 1 insertions, 1 deletions
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})