diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2017-10-17 16:39:13 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2017-10-17 16:39:13 +0200 |
commit | f66cf28c8b4d80122896c87dba8af74ea1872eba (patch) | |
tree | 6d84c736463a3c210ba3791dc074df8565eb6559 /src/render.cpp | |
parent | 672180b2ee3ed9b9ff984538a85e6eaf2e1c91bc (diff) |
New vectors. Start refactoring to use it.
Diffstat (limited to 'src/render.cpp')
-rw-r--r-- | src/render.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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() |