From e94be85251a3905c3750487ecbdba628644a0582 Mon Sep 17 00:00:00 2001 From: nathansmithsmith Date: Thu, 14 Sep 2023 18:31:35 -0600 Subject: More generale laser stuff --- src/world.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/world.c') diff --git a/src/world.c b/src/world.c index a07bfcd..c34f17b 100644 --- a/src/world.c +++ b/src/world.c @@ -343,15 +343,9 @@ void updateWorld(World * world, Game * game) { } } - if (killCount != 0) { - printf("%ld\n", killCount); - debugWorld(world); - } - // "bring out your dead!" - for (i = 0; i < killCount; ++i) { + for (i = 0; i < killCount; ++i) removeEntityFromWorld(world, kills[i]); - } // Handle some shit. handleScheduledEntities(world); -- cgit v1.2.3