From 29d124b93125d7c9de762c45876f69df3acd549d Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Wed, 18 Oct 2017 19:53:51 +0200 Subject: Render bounds are now working. Start working on unit movement. --- src/render.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/render.cpp') diff --git a/src/render.cpp b/src/render.cpp index 5e7d1a4..66eeba8 100644 --- a/src/render.cpp +++ b/src/render.cpp @@ -86,7 +86,7 @@ void state_t::render(game::state_t *game) for (world::sector_t *sector : game->world.get_sectors(bbox)) draw_sector(window, sector); - ents = game->world.get_entities(bbox); + ents = game->world.get_render_entities(bbox); ents.sort( [](const world::entity_t *x, const world::entity_t *y) -> bool { -- cgit