Fixed an error in the nogame screen if the window's height is too small.

This commit is contained in:
Alex Szpakowski
2015-12-22 15:47:50 -05:00
parent 47949aa968
commit 5ef0195a88
2 changed files with 19 additions and 15 deletions
+7 -5
View File
@@ -867,11 +867,13 @@ function love.nogame()
local c = str:sub(i, i)
if c ~= " " then
local piece = self.pieces[idx + i]
piece.quad = GLYPHS[c]
piece.r = 0
piece.rv = 0
piece.color.prev = INITIAL_TEXT_COLOR
piece.color.next = INITIAL_TEXT_COLOR
if piece then
piece.quad = GLYPHS[c]
piece.r = 0
piece.rv = 0
piece.color.prev = INITIAL_TEXT_COLOR
piece.color.next = INITIAL_TEXT_COLOR
end
end
end
end