diff --git a/code/foundation/src/gui/tooltip.c b/code/foundation/src/gui/tooltip.c index e47487c..45dc08f 100644 --- a/code/foundation/src/gui/tooltip.c +++ b/code/foundation/src/gui/tooltip.c @@ -137,7 +137,7 @@ void tooltip_clear(void) { main_tooltip = (tooltip_node) {0}; } -inline void tooltip_draw_contents(tooltip *desc) { +void tooltip_draw_contents(tooltip *desc) { if (!desc) return; nk_layout_row_dynamic(game_ui, 0, 1); nk_label_wrap(game_ui, desc->content); diff --git a/code/foundation/src/systems/modules/system_demo.c b/code/foundation/src/systems/modules/system_demo.c index 71e783e..6f6f367 100644 --- a/code/foundation/src/systems/modules/system_demo.c +++ b/code/foundation/src/systems/modules/system_demo.c @@ -54,7 +54,7 @@ void CreatureSeekFood(ecs_iter_t *it) { for (int i = 0; i < it->count; i++) { size_t ents_count; - uint64_t *ents = world_chunk_query_entities(it->entities[i], &ents_count, 2); + int64_t *ents = world_chunk_query_entities(it->entities[i], &ents_count, 2); float closest_ent_dist = ZPL_F32_MAX; uint64_t closest_ent = 0; @@ -110,7 +110,7 @@ void CreatureSeekCompanion(ecs_iter_t *it) { for (int i = 0; i < it->count; i++) { size_t ents_count; - uint64_t *ents = world_chunk_query_entities(it->entities[i], &ents_count, 2); + int64_t *ents = world_chunk_query_entities(it->entities[i], &ents_count, 2); float closest_ent_dist = ZPL_F32_MAX; uint64_t closest_ent = 0;