summaryrefslogtreecommitdiff
path: root/src/gui/socialwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-12 13:32:49 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-17 14:53:41 +0300
commit8571843f1405e676142e7bb289f9879d10a888ed (patch)
treee414c90b31979372220fa5c78f9ebb6cc05cd024 /src/gui/socialwindow.cpp
parent3d8682618f0b46a334f9db5dd0c780f671e7f072 (diff)
downloadManaVerse-8571843f1405e676142e7bb289f9879d10a888ed.tar.gz
ManaVerse-8571843f1405e676142e7bb289f9879d10a888ed.tar.bz2
ManaVerse-8571843f1405e676142e7bb289f9879d10a888ed.tar.xz
ManaVerse-8571843f1405e676142e7bb289f9879d10a888ed.zip
add walkmaps support.
Fast detecting between two targets is they in same walkable area.
Diffstat (limited to 'src/gui/socialwindow.cpp')
-rw-r--r--src/gui/socialwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp
index 653140e3f..2b3ec2c3a 100644
--- a/src/gui/socialwindow.cpp
+++ b/src/gui/socialwindow.cpp
@@ -701,7 +701,7 @@ public:
Avatar *const ava = new Avatar(name);
if (player_node)
- ava->setOnline(player_node->isReachable(x, y, 0));
+ ava->setOnline(player_node->isReachable(x, y, true));
else
ava->setOnline(false);
ava->setLevel(-1);
@@ -842,7 +842,7 @@ public:
Avatar *const ava = new Avatar(name);
if (player_node)
- ava->setOnline(player_node->isReachable(x, y, 0));
+ ava->setOnline(player_node->isReachable(x, y, true));
else
ava->setOnline(false);
ava->setLevel(-1);