Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixing rendering color bug.
  • Loading branch information
wilkie committed Nov 6, 2011
1 parent b664bf4 commit ab11c32
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions battery.lua
Expand Up @@ -31,7 +31,5 @@ function Battery:draw(x, y)

local x1,y1,x2,y2 = self.shape:getPoints()

love.graphics.setColor(0,255,255)
love.graphics.draw(battery_img, x1-x, y1-y)
love.graphics.setColor(255,255,255)
end
2 changes: 0 additions & 2 deletions brain.lua
Expand Up @@ -31,7 +31,5 @@ function Brain:draw(x, y)

local x1,y1,x2,y2 = self.shape:getPoints()

love.graphics.setColor(255,0,255)
love.graphics.draw(brain_img, x1-x, y1-y)
love.graphics.setColor(255,255,255)
end
Binary file modified img/brain.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ab11c32

Please sign in to comment.