From e32607b05c0dfb7dcc2534988293e55602930608 Mon Sep 17 00:00:00 2001 From: Ahmed Samy Date: Sun, 15 Dec 2013 04:33:43 +0200 Subject: [PATCH] Tiny fixes --- src/client/tile.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/client/tile.cpp b/src/client/tile.cpp index 07702242..b6fe2a58 100644 --- a/src/client/tile.cpp +++ b/src/client/tile.cpp @@ -73,10 +73,9 @@ void Tile::draw(const Point& dest, float scaleFactor, int drawFlags, LightView * break; } } - } else if(m_selected) { - g_painter->setColor(Color::darkGreen); - g_painter->setOpacity(0.9); } + if(m_selected) + g_painter->setColor(Color::teal); if((thing->isGround() && drawFlags & Otc::DrawGround) || (thing->isGroundBorder() && drawFlags & Otc::DrawGroundBorders) || @@ -88,6 +87,8 @@ void Tile::draw(const Point& dest, float scaleFactor, int drawFlags, LightView * g_painter->resetColor(); } } + if(m_selected) + g_painter->resetColor(); m_drawElevation += thing->getElevation(); if(m_drawElevation > Otc::MAX_ELEVATION)