Browse Source

bug fix: wrong type used for line number representation

feature/2015
Christian Kroll 15 years ago
parent
commit
c1295224ee
  1. 2
      games/tetris/view.c

2
games/tetris/view.c

@ -295,7 +295,7 @@ void tetris_view_blinkLines(tetris_playfield_t *pPl)
void tetris_view_showLineNumbers(tetris_view_t *pV)
{
// get number of completed lines
uint8_t nLines = tetris_logic_getLines(pV->pLogic);
uint16_t nLines = tetris_logic_getLines(pV->pLogic);
// get decimal places
int8_t nOnes = nLines % 10;

Loading…
Cancel
Save