C99 hotfix

This commit is contained in:
Ishaan Bhardwaj 2021-01-13 19:52:27 -05:00
parent 13525b9858
commit 024d552bcc

View File

@ -51,7 +51,7 @@ function MarathonC99Game:new()
self.super:new() self.super:new()
self.grid = Grid(10, 22) self.grid = Grid(10, 22)
self.roll_frames = 0 self.roll_frames = frameTime(3,00)
self.level = 15 self.level = 15
self.lines = 299 self.lines = 299
self.lines_to_next_level = 1--lines_to_next_level[self.level] self.lines_to_next_level = 1--lines_to_next_level[self.level]
@ -328,7 +328,7 @@ function MarathonC99Game:drawScoringInfo()
end end
love.graphics.setFont(font_3x5_3) love.graphics.setFont(font_3x5_3)
love.graphics.setColor(1, 1, 1, 1) love.graphics.setColor(1, 1, 1, 1)
level_names[17] = self.roll_frames == 0 and "THE EDGE OF THE WORLD" or formatTime(frameTime(3,19) - self.roll_frames) level_names[17] = self.roll_frames == frameTime(3,19) and "THE EDGE OF THE WORLD" or formatTime(frameTime(3,19) - self.roll_frames)
love.graphics.printf(level_names[self.level], 240, 137, 200, "left") love.graphics.printf(level_names[self.level], 240, 137, 200, "left")
love.graphics.setFont(font_3x5_2) love.graphics.setFont(font_3x5_2)
love.graphics.setFont(font_8x11) love.graphics.setFont(font_8x11)