diff options
author | Aki <nthirtyone@gmail.com> | 2016-07-12 04:55:49 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-07-12 04:55:49 +0200 |
commit | 2ad829b2e6e56f918fdff2d3cffeec4138bc116a (patch) | |
tree | 3358a7e0401c98faea03f62bf9122eba00454f13 /selector.lua | |
parent | 1d6e9a2f1566fc8e1b6f819e83fd15a45d5cd961 (diff) | |
download | roflnauts-2ad829b2e6e56f918fdff2d3cffeec4138bc116a.zip roflnauts-2ad829b2e6e56f918fdff2d3cffeec4138bc116a.tar.gz roflnauts-2ad829b2e6e56f918fdff2d3cffeec4138bc116a.tar.bz2 |
Cleaning up
Diffstat (limited to 'selector.lua')
-rw-r--r-- | selector.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/selector.lua b/selector.lua index b3ab5c4..c8740db 100644 --- a/selector.lua +++ b/selector.lua @@ -34,13 +34,13 @@ function Selector:draw () local arrowl = self.parent.portrait_sheet.arrow_left local arrowr = self.parent.portrait_sheet.arrow_right if not self.state then - love.graphics.draw(sprite, p.normal, x*scale, y*scale, 0, 1*scale, 1*scale) + love.graphics.draw(sprite, p.normal, x*scale, y*scale, 0, scale, scale) if self.controller ~= nil then love.graphics.draw(sprite, arrowl, (x-2)* scale, (y+13)*scale, 0, scale, scale) love.graphics.draw(sprite, arrowr, (x+30)*scale, (y+13)*scale, 0, scale, scale) end else - love.graphics.draw(sprite, p.active, x*scale, y*scale, 0, 1*scale, 1*scale) + love.graphics.draw(sprite, p.active, x*scale, y*scale, 0, scale, scale) end if self.naut ~= 1 then love.graphics.printf(name, (x-6)*scale, (y+33)*scale, 44, "center", 0, scale, scale) |