From c9b6a0da6078290d611736db9475f54be5601643 Mon Sep 17 00:00:00 2001 From: Sara Date: Sun, 26 Nov 2023 13:02:57 +0100 Subject: [PATCH] chore(debugging): removed some logging --- core/src/game_world.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/core/src/game_world.c b/core/src/game_world.c index 8c83b08..8ec093f 100644 --- a/core/src/game_world.c +++ b/core/src/game_world.c @@ -83,18 +83,10 @@ int _internal_compare_depth(const BehaviourEntity* a, const BehaviourEntity* b) void game_world_draw() { List draw_order = list_copy(&_game_entities); - - LOG_INFO("before"); - list_foreach(BehaviourEntity*, entity, &draw_order) { - LOG_INFO("Entity: %p depth %d", entity->data, entity->tc->get_depth(entity->data)); - } qsort(_game_entities.data, _game_entities.len, _game_entities.element_size, AS_COMPARISON(_internal_compare_depth)); - - LOG_INFO("after"); list_foreach(BehaviourEntity*, entity, &draw_order) { - LOG_INFO("Entity: %p depth %d", entity->data, entity->tc->get_depth(entity->data)); entity->tc->draw(entity->data); }