diff options
author | Aki <nthirtyone@gmail.com> | 2018-04-07 19:10:14 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2018-04-07 19:10:14 +0200 |
commit | 6c487d44312dd96fb37825ea3fc7354f108fdfb6 (patch) | |
tree | a143847c7b8b3e9daff936108eee17b3ce85eb9e /not/PhysicalBody.lua | |
parent | 2e88eed328b7c561cbce8c3ae8faebc694a3983e (diff) | |
download | roflnauts-6c487d44312dd96fb37825ea3fc7354f108fdfb6.zip roflnauts-6c487d44312dd96fb37825ea3fc7354f108fdfb6.tar.gz roflnauts-6c487d44312dd96fb37825ea3fc7354f108fdfb6.tar.bz2 |
Now uses getFixtures instead of deprecated getFixtureList
Diffstat (limited to 'not/PhysicalBody.lua')
-rw-r--r-- | not/PhysicalBody.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/not/PhysicalBody.lua b/not/PhysicalBody.lua index df9992e..0fb969f 100644 --- a/not/PhysicalBody.lua +++ b/not/PhysicalBody.lua @@ -65,7 +65,7 @@ end function PhysicalBody:draw (debug) PhysicalBody.__super.draw(self, debug) if debug then - for _,fixture in pairs(self.body:getFixtureList()) do + for _,fixture in pairs(self.body:getFixtures()) do local category = fixture:getCategory() -- TODO: Fixture drawing of PhysicalBodies could take activity into account in every case. if category == 1 then |