diff options
author | Aki <nthirtyone@gmail.com> | 2017-09-12 19:27:32 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2017-09-12 19:27:32 +0200 |
commit | c201bef4950138bd8c475d9b8cd1c26e0615145a (patch) | |
tree | af7f92f17b6eb1a8c72ed9bd3ba34e3455834b97 /not/World.lua | |
parent | 6094b7eb9cbe915e02e02908b77549223f585014 (diff) | |
download | roflnauts-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/World.lua')
-rw-r--r-- | not/World.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/not/World.lua b/not/World.lua index 08b9710..e75880f 100644 --- a/not/World.lua +++ b/not/World.lua @@ -259,10 +259,10 @@ function World:draw () -- TODO: Camera rewrite in progress. for _,entity in pairs(self.entities) do if entity.draw and entity.layer then - entity.layer:renderToWith(self.camera, entity.draw, entity, 0, 0, 1, debug) -- TODO: Offsets and Scale are passed as 0,0,1 in World@draw for compatibility reasons. Remove them. + entity.layer:renderToWith(self.camera, entity.draw, entity, debug) -- TODO: Offsets and Scale are passed as 0,0,1 in World@draw for compatibility reasons. Remove them. end if entity.drawTag then - self.layers[6]:renderToWith(self.camera, entity.drawTag, entity, 0, 0, 1) -- TODO: Offsets and Scale passed. See `World@draw`. + self.layers[6]:renderToWith(self.camera, entity.drawTag, entity, debug) -- TODO: Offsets and Scale passed. See `World@draw`. end end |