From 34ce13444db7525b2dc37183675ea6e907fea642 Mon Sep 17 00:00:00 2001 From: nathansmithsmith Date: Thu, 14 Sep 2023 00:13:15 -0600 Subject: Removed ugly comment I didn't like --- src/world.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/world.c b/src/world.c index 0e7c975..a07bfcd 100644 --- a/src/world.c +++ b/src/world.c @@ -202,16 +202,6 @@ KfError removeEntityFromWorld(World * world, EntityId id) { if (pushVacantId(world, id) != KFSUCCESS) return KFERROR; - // Move back entities. - // for (i = pos; i < world->entitiesCount - 1; ++i) - // world->entities[i] = world->entities[i + 1]; - - // Update lookup. - // for (i = id + 1; i < world->lookUpSize; ++i) - // if (world->lookUp[i] != ENTITY_ID_NONE) - // --world->lookUp[i]; - - // This is a replacement for the code above. It was buggy. for (i = pos; i < world->entitiesCount - 1; ++i) { // Move back entities world->entities[i] = world->entities[i + 1]; -- cgit v1.2.3