Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: SDFileSystem mbed-rtos mbed wave_player 4DGL-uLCD-SE PinDetect
Revision 2:3c1a5079243d, committed 2016-03-14
- Comitter:
- fomartin
- Date:
- Mon Mar 14 19:14:23 2016 +0000
- Parent:
- 1:4976bbb3376f
- Commit message:
- Fixed bug with player 2 pressing button during X prompt.
Changed in this revision
| States/Gameplay.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/States/Gameplay.cpp Mon Mar 14 16:19:47 2016 +0000
+++ b/States/Gameplay.cpp Mon Mar 14 19:14:23 2016 +0000
@@ -71,7 +71,7 @@
}
//AI will never mis-fire on hold-fire... just for simplicity's sake
- if(numPlayers == 1 && (!P2_Left || !P2_Right))
+ if(numPlayers == 2 && (!P2_Left || !P2_Right))
{
setPoints(2, getPoints(2) - 1, uLCD);
led1 = 1;