mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-11-30 15:37:33 +03:00
Fix arkanoid bug
This commit is contained in:
parent
6b30dc5114
commit
a35b536120
@ -2,6 +2,7 @@
|
|||||||
* CI/CD: Builds with extra apps pack included, see new option below
|
* CI/CD: Builds with extra apps pack included, see new option below
|
||||||
* SubGHz: Allow manual creation of Nice Flor S, Nice Smilo
|
* SubGHz: Allow manual creation of Nice Flor S, Nice Smilo
|
||||||
* LF RFID: Allow removing password from T5577 to make it operational (PR #225 | by @TQMatvey & Tobirg (grvpvl))
|
* LF RFID: Allow removing password from T5577 to make it operational (PR #225 | by @TQMatvey & Tobirg (grvpvl))
|
||||||
|
* Plugins -> Arkanoid: Fix bug with unability to continue game after first level
|
||||||
* Plugins -> Morse Code: Fixed crashes, fixed known issues (PR #249 | by @gid9798)
|
* Plugins -> Morse Code: Fixed crashes, fixed known issues (PR #249 | by @gid9798)
|
||||||
* Plugins -> USB Keyboard & Mouse: Added ESCAPE key (PR #243 | by @huuck)
|
* Plugins -> USB Keyboard & Mouse: Added ESCAPE key (PR #243 | by @huuck)
|
||||||
* Plugins -> SubGHz Bruteforcer: Add holtek HT12X protocol support
|
* Plugins -> SubGHz Bruteforcer: Add holtek HT12X protocol support
|
||||||
|
@ -276,6 +276,7 @@ void reset_level(Canvas* canvas, ArkanoidState* arkanoid_state) {
|
|||||||
arkanoid_state->ball_state.yb = 60;
|
arkanoid_state->ball_state.yb = 60;
|
||||||
arkanoid_state->brickCount = 0;
|
arkanoid_state->brickCount = 0;
|
||||||
arkanoid_state->ball_state.released = false;
|
arkanoid_state->ball_state.released = false;
|
||||||
|
arkanoid_state->gameStarted = false;
|
||||||
|
|
||||||
// Reset all brick hit states
|
// Reset all brick hit states
|
||||||
for(unsigned int row = 0; row < arkanoid_state->ROWS; row++) {
|
for(unsigned int row = 0; row < arkanoid_state->ROWS; row++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user