Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2009-08-16 21:23:47 +0000
committerStijn Buys <ingar@osirion.org>2009-08-16 21:23:47 +0000
commit80aaacbaef16b4eba33428aec268f80e7466cbb1 (patch)
treef157011d8e97d490ec3a9b0e8b28980f091de87b /src/client
parentd763e294f44eb38b94bf7e2055b77a982b72b7c0 (diff)
minor cleanups, corrected map widget
Diffstat (limited to 'src/client')
-rw-r--r--src/client/map.cc4
1 files changed, 2 insertions, 2 deletions
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();