From f66cf28c8b4d80122896c87dba8af74ea1872eba Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Tue, 17 Oct 2017 16:39:13 +0200 Subject: New vectors. Start refactoring to use it. --- src/render.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/render.cpp') diff --git a/src/render.cpp b/src/render.cpp index ee2e5b2..0353f97 100644 --- a/src/render.cpp +++ b/src/render.cpp @@ -45,12 +45,12 @@ static void draw_sector(sf::RenderWindow *window, world::sector_t *sector) sector->bounds.left + x, sector->bounds.top + y, sector->tiles + y * SECTOR_SIZE + x); - if ((sector->index.x & 2) ^ (sector->index.y & 2)) { + /*if ((sector->index.x & 2) ^ (sector->index.y & 2)) { wot_rect.setSize(sf::Vector2f(SECTOR_SIZE, SECTOR_SIZE)); wot_rect.setPosition(sf::Vector2f(sector->bounds.left, sector->bounds.top)); wot_rect.setFillColor(sf::Color(0, 0, 0, 50)); window->draw(wot_rect); - } + }*/ } void interface::state_t::render() -- cgit