aboutsummaryrefslogtreecommitdiff
path: root/src/entities/soldato.c
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/entities/soldato.c
parent22535c8b18cda1d5a1ee771616425fc3941a801c (diff)
Kill log only shows stuff you killed
Diffstat (limited to 'src/entities/soldato.c')
-rw-r--r--src/entities/soldato.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/entities/soldato.c b/src/entities/soldato.c
index 7318d5b..28e9b67 100644
--- a/src/entities/soldato.c
+++ b/src/entities/soldato.c
@@ -123,8 +123,8 @@ void updateSoldatoGuns(Game * game, Entity * entity) {
Bullet bullet = createBulletFromDirection(*entity, data->gunTarget, SOLDATO_BULLET_DAMAGE);
BulletHitInfo hit = shootBulletAtEntity(player, bullet);
- if (hit.hit)
- printf("This fucker hit %lf\n", t);
+ // if (hit.hit)
+ // printf("This fucker hit %lf\n", t);
data->timeSinceLastShot = t;
}