![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Owen Cavender 201159294
Diff: GameEngine.cpp
- Revision:
- 11:e7c56013acd9
- Parent:
- 10:ee781d18e0f6
diff -r ee781d18e0f6 -r e7c56013acd9 GameEngine.cpp --- a/GameEngine.cpp Thu May 28 20:58:49 2020 +0000 +++ b/GameEngine.cpp Thu May 28 21:59:12 2020 +0000 @@ -30,7 +30,7 @@ int _x0 = Snakehead.x; int _y0 = Snakehead.y; - if (_x0 >= 42 && _y0 >= 24) { + if (_x0 >= 42 && _y0 <= 24) { // top right led on pad.led(4, 1);