ELEC2645 (2018/19) / Mbed 2 deprecated el17zl

Dependencies:   mbed

Fork of el17zl by Zhenwen Liao

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);