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: mbed
Fork of el17zl by
Diff: Ppl/Ppl.cpp
- Revision:
- 7:6f8aeadc4370
- Parent:
- 6:6b083e22cb53
- Child:
- 8:83891ea9a5d9
diff -r 6b083e22cb53 -r 6f8aeadc4370 Ppl/Ppl.cpp
--- a/Ppl/Ppl.cpp Thu Apr 11 13:42:34 2019 +0000
+++ b/Ppl/Ppl.cpp Thu Apr 11 14:14:28 2019 +0000
@@ -41,7 +41,7 @@
int temp_y = _y;
move_ppl(bb,ba,bx,by);
-
+
if (hold_beside_barrier(barrier_x,barrier_y)) {
_x = temp_x;
_y = temp_y;
@@ -49,6 +49,7 @@
_x = _x;
_y = _y;
}
+
hold_ppl_against_wall();
hold_ppl_box_touching(temp);
