From 581ea4aaf1acefa663446faa32a480bbcc3e084c Mon Sep 17 00:00:00 2001 From: nathansmithsmith Date: Wed, 15 Nov 2023 16:25:54 -0700 Subject: Kill log only shows stuff you killed --- src/entities/soldato.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/entities/soldato.c') 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; } -- cgit v1.2.3