]> git.gir.st - minesVIiper.git/commit
fix fallthrough bug in game loop
authorgirst <girst@users.noreply.github.com>
Sun, 6 Aug 2017 16:25:01 +0000 (18:25 +0200)
committergirst <girst@users.noreply.github.com>
Sun, 6 Aug 2017 16:25:01 +0000 (18:25 +0200)
commit779f87e37bf7cab29f5348cb0f0effb1d9ac9d83
treeaa6c1f4f5b4b162d1652dc9805b4bf5db31a2825
parent62868be514817e2f611fdadbe312b9d489414386
fix fallthrough bug in game loop

somehow, I managed to insert the case statement for restarting the game in
between the cases for flagging with the mouse and keyboard, which are connected
together with a fallthrough. That made the game restart whenever the mouse was
used to flag. I didn't notice this earlier, since I mostly play this game with the keyboard. (shame on me for not testing my code :| )
mines_2017.c
Imprint / Impressum