aboutsummaryrefslogtreecommitdiffstats
path: root/src/entity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/entity.cpp')
-rw-r--r--src/entity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entity.cpp b/src/entity.cpp
index 124ac02..9f3b35f 100644
--- a/src/entity.cpp
+++ b/src/entity.cpp
@@ -1,6 +1,6 @@
#include "entity.hpp"
-Entity::Entity(void)
+Entity::Entity(void) : hp(1)
{
posX = GetRandomValue(0, SCREENWIDTH);
posY = GetRandomValue(0, SCREENHEIGHT);