diff options
author | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-12-01 10:55:23 -0700 |
---|---|---|
committer | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-12-01 10:55:23 -0700 |
commit | a8e21e0ac702fc7bcdcaf144f384cbce8aae03d0 (patch) | |
tree | 7b6a4ab19e749b73eefa620875e6fc5321bd1dc3 /src | |
parent | 861bc73b34765829e5fc9e68bbb0b18ec44e0903 (diff) |
Needed to ad glfw to cmake
Diffstat (limited to 'src')
-rw-r--r-- | src/entities/caporale.c | 2 |
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)); |