diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-12 13:32:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-17 14:53:41 +0300 |
commit | 8571843f1405e676142e7bb289f9879d10a888ed (patch) | |
tree | e414c90b31979372220fa5c78f9ebb6cc05cd024 /src/gui/socialwindow.cpp | |
parent | 3d8682618f0b46a334f9db5dd0c780f671e7f072 (diff) | |
download | ManaVerse-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.cpp | 4 |
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); |