aboutsummaryrefslogtreecommitdiff
path: root/src/entity.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/entity.c')
-rw-r--r--src/entity.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entity.c b/src/entity.c
index 7fbf966..a44220a 100644
--- a/src/entity.c
+++ b/src/entity.c
@@ -62,6 +62,7 @@ Entity createEntity(EntityType type, Game * game) {
.updateCb = info.updateCb,
.drawCb = info.drawCb,
.health = ENTITY_MAX_HEALTH,
+ .killedByPlayer = false,
.follow = (EntityFollow){
.leaderId = ENTITY_NONE,
.followerId = ENTITY_NONE