mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2025-02-17 13:58:32 +00:00
fbt format
This commit is contained in:
parent
5132b16305
commit
f9db06b781
1 changed files with 4 additions and 3 deletions
|
@ -327,9 +327,10 @@ static void
|
|||
uint16_t oldNumLines = tetris_state->numLines;
|
||||
tetris_state->numLines += numLines;
|
||||
if((oldNumLines / 10) % 10 != (tetris_state->numLines / 10) % 10) {
|
||||
nextFallSpeed = tetris_state->fallSpeed - (100 / (tetris_state->numLines / 10));
|
||||
if (nextFallSpeed >= MIN_FALL_SPEED){
|
||||
tetris_state->fallSpeed = nextFallSpeed;
|
||||
nextFallSpeed =
|
||||
tetris_state->fallSpeed - (100 / (tetris_state->numLines / 10));
|
||||
if(nextFallSpeed >= MIN_FALL_SPEED) {
|
||||
tetris_state->fallSpeed = nextFallSpeed;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue