diff options
author | Aki <nthirtyone@gmail.com> | 2017-09-11 02:17:07 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2017-09-11 02:17:07 +0200 |
commit | 6ed92013f8096057e4aad3f5a730e3586d9eb0e6 (patch) | |
tree | 7a0e34240b833426b59f375237df49afb6f0c00e /not/Camera.lua | |
parent | f251032110f8c7ba337a6ee4196083005c146fbc (diff) | |
download | roflnauts-6ed92013f8096057e4aad3f5a730e3586d9eb0e6.zip roflnauts-6ed92013f8096057e4aad3f5a730e3586d9eb0e6.tar.gz roflnauts-6ed92013f8096057e4aad3f5a730e3586d9eb0e6.tar.bz2 |
Hotfix for Camera's translatePoints
Diffstat (limited to 'not/Camera.lua')
-rw-r--r-- | not/Camera.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/not/Camera.lua b/not/Camera.lua index f2211fa..8008a0d 100644 --- a/not/Camera.lua +++ b/not/Camera.lua @@ -71,7 +71,7 @@ end function Camera:translatePoints (...) local a = {...} local r = {} - local x,y = self:getOffsets() + local x,y = 0,0 for k,v in pairs(a) do if k%2 == 1 then table.insert(r, (v + x) * getScale()) |