mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-18 19:01:47 +03:00
fbt format
This commit is contained in:
parent
5132b16305
commit
f9db06b781
@ -327,9 +327,10 @@ static void
|
|||||||
uint16_t oldNumLines = tetris_state->numLines;
|
uint16_t oldNumLines = tetris_state->numLines;
|
||||||
tetris_state->numLines += numLines;
|
tetris_state->numLines += numLines;
|
||||||
if((oldNumLines / 10) % 10 != (tetris_state->numLines / 10) % 10) {
|
if((oldNumLines / 10) % 10 != (tetris_state->numLines / 10) % 10) {
|
||||||
nextFallSpeed = tetris_state->fallSpeed - (100 / (tetris_state->numLines / 10));
|
nextFallSpeed =
|
||||||
if (nextFallSpeed >= MIN_FALL_SPEED){
|
tetris_state->fallSpeed - (100 / (tetris_state->numLines / 10));
|
||||||
tetris_state->fallSpeed = nextFallSpeed;
|
if(nextFallSpeed >= MIN_FALL_SPEED) {
|
||||||
|
tetris_state->fallSpeed = nextFallSpeed;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user