summaryrefslogtreecommitdiff
path: root/src/game/interface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/interface.cpp')
-rw-r--r--src/game/interface.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/interface.cpp b/src/game/interface.cpp
index a367607..a9832b2 100644
--- a/src/game/interface.cpp
+++ b/src/game/interface.cpp
@@ -142,12 +142,12 @@ void state_t::render_to(render::state_t *render)
size_t w = window->getSize().x, h = window->getSize().y;
v2f_t x;
- window->setView(sf::View(sf::FloatRect(0, 0, w, h)));
- em = std::min(w, h) * 0.04;
-
if (select.selecting)
render->render_hlrect(select.rect, sf::Color(200, 100, 50));
+ window->setView(sf::View(sf::FloatRect(0, 0, w, h)));
+ em = std::min(w, h) * 0.04;
+
for (auto i = log.begin(); i != log.end(); ) {
if (i->time + 3 < game->now)
i = log.erase(i);