diff options
Diffstat (limited to 'src/client/map.cc')
-rw-r--r-- | src/client/map.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/map.cc b/src/client/map.cc index e433d40..35a1be7 100644 --- a/src/client/map.cc +++ b/src/client/map.cc @@ -61,7 +61,7 @@ void Map::draw() if (h > s ) { v.y += (h-s) * 0.5f; } else { - v.x += (w-s) * 0.5f; + //v.x += (w-s) * 0.5f; } gl::color(0,0,blue); @@ -121,6 +121,9 @@ void Map::draw() if (entity == core::localcontrol()) { draw_icon = true; + l.x -= s / scale * entity->location().y; + l.y -= s / scale * entity->location().x; + if (core::application()->time() - floorf(core::application()->time()) < 0.5f) { draw_icon = false; } |