summaryrefslogtreecommitdiffstats
path: root/friendfinder/map/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'friendfinder/map/object.c')
-rw-r--r--friendfinder/map/object.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/friendfinder/map/object.c b/friendfinder/map/object.c
index f4f4c0b..c337cc4 100644
--- a/friendfinder/map/object.c
+++ b/friendfinder/map/object.c
@@ -11,6 +11,8 @@
#include "smart_map_priv.h"
+#include "../draw_user.h"
+
static void tile_array_add(struct smart_map *smart, int index)
{
smart->ta.tiles[index] = e_smart_tile_add(smart->evas);
@@ -167,6 +169,9 @@ int map_object_update(struct smart_map *smart)
if(smart->theme == NULL)
return 0;
+
+ get_own_position(smart->ta.lat, smart->ta.lon);
+ get_sender_position(smart->ta.lat, smart->ta.lon);
snprintf(buffer, 512, "%lf * %lf", smart->ta.lat, smart->ta.lon);
smart->lat = smart->ta.lat;