aboutsummaryrefslogtreecommitdiff
path: root/src/entity.h
diff options
context:
space:
mode:
authornathansmithsmith <thenathansmithsmith@gmail.com>2023-11-15 16:25:54 -0700
committernathansmithsmith <thenathansmithsmith@gmail.com>2023-11-15 16:25:54 -0700
commit581ea4aaf1acefa663446faa32a480bbcc3e084c (patch)
tree47e05bab3da699d707d0af089f8b8287fbda38fd /src/entity.h
parent22535c8b18cda1d5a1ee771616425fc3941a801c (diff)
Kill log only shows stuff you killed
Diffstat (limited to 'src/entity.h')
-rw-r--r--src/entity.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entity.h b/src/entity.h
index dfc38a4..a7e442d 100644
--- a/src/entity.h
+++ b/src/entity.h
@@ -120,6 +120,7 @@ typedef struct Entity {
// Health is a percent from 1.0 to 0.0.
float health;
+ bool killedByPlayer;
EntityCollision collision;