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 MotionSensor
Diff: Entity/Bullets/Bullets.cpp
- Revision:
- 28:98848e6a77a2
- Parent:
- 27:a1b41626f57c
- Child:
- 29:6b8411bb040a
diff -r a1b41626f57c -r 98848e6a77a2 Entity/Bullets/Bullets.cpp
--- a/Entity/Bullets/Bullets.cpp Mon Apr 29 10:39:09 2019 +0000
+++ b/Entity/Bullets/Bullets.cpp Thu May 02 21:30:49 2019 +0000
@@ -2,6 +2,7 @@
Bullets::Bullets(float pos_x, float pos_y, int dir)
{
+ _damage_self_upon_collision = false;
moving = true;
face = 0;
hp = 1;