From 80aaacbaef16b4eba33428aec268f80e7466cbb1 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 16 Aug 2009 21:23:47 +0000 Subject: minor cleanups, corrected map widget --- src/client/map.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client') diff --git a/src/client/map.cc b/src/client/map.cc index 46ac583..aca5e97 100644 --- a/src/client/map.cc +++ b/src/client/map.cc @@ -106,7 +106,7 @@ void Map::draw() size_t texture_current = render::Textures::bind(texture_entity); v[0] += s * 0.5f; - v[0] += s * 0.5f; + v[1] += s * 0.5f; core::Zone *zone = core::localplayer()->zone(); @@ -127,7 +127,7 @@ void Map::draw() l.assign(v); if (targets::is_valid_map_target(entity)) { - draw_icon = true; + draw_icon = true; l[0] -= s / scale * entity->location().y(); l[1] -= s / scale * entity->location().x(); -- cgit v1.2.3