aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authornathansmithsmith <thenathansmithsmith@gmail.com>2023-12-01 10:55:23 -0700
committernathansmithsmith <thenathansmithsmith@gmail.com>2023-12-01 10:55:23 -0700
commita8e21e0ac702fc7bcdcaf144f384cbce8aae03d0 (patch)
tree7b6a4ab19e749b73eefa620875e6fc5321bd1dc3 /src
parent861bc73b34765829e5fc9e68bbb0b18ec44e0903 (diff)
Needed to ad glfw to cmake
Diffstat (limited to 'src')
-rw-r--r--src/entities/caporale.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/entities/caporale.c b/src/entities/caporale.c
index 3b29784..c522ad8 100644
--- a/src/entities/caporale.c
+++ b/src/entities/caporale.c
@@ -10,6 +10,8 @@ void initCaporale(Entity * entity, Game * game) {
entity->transformedCollisionModel = entityCreateCollisionModel(*entity->model);
setEntityRadius(entity);
+ entity->health = 0.25;
+
// Allocate data.
entity->data = KF_MALLOC(sizeof(Caporale));