aboutsummaryrefslogtreecommitdiff
path: root/src/world.c
diff options
context:
space:
mode:
authornathansmithsmith <nathansmith7@mailfence.com>2023-09-14 18:31:35 -0600
committernathansmithsmith <nathansmith7@mailfence.com>2023-09-14 18:31:35 -0600
commite94be85251a3905c3750487ecbdba628644a0582 (patch)
tree1a919f98cefa30db5f8d41a95a90c11874032e4e /src/world.c
parent34ce13444db7525b2dc37183675ea6e907fea642 (diff)
More generale laser stuff
Diffstat (limited to 'src/world.c')
-rw-r--r--src/world.c8
1 files changed, 1 insertions, 7 deletions
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);