diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-05-21 03:23:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-05-21 03:23:28 +0300 |
commit | 54f8367afe9d30c21bcda057872439199c7dd9c1 (patch) | |
tree | 63d0f02eca1cfd643e4a394c7999c9c172839086 /src/gui | |
parent | 61350cc4f65d53dd3add0c15558f6017b18ddbea (diff) | |
download | manaverse-54f8367afe9d30c21bcda057872439199c7dd9c1.tar.gz manaverse-54f8367afe9d30c21bcda057872439199c7dd9c1.tar.bz2 manaverse-54f8367afe9d30c21bcda057872439199c7dd9c1.tar.xz manaverse-54f8367afe9d30c21bcda057872439199c7dd9c1.zip |
Fix player build path in special collisions.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/viewport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index 1053fa1c9..1f2d06894 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -306,7 +306,7 @@ void Viewport::_drawDebugPath(Graphics *graphics) debugPath = mMap->findPath( static_cast<int>(playerPos.x - 16) / 32, static_cast<int>(playerPos.y - 32) / 32, - mousePosX / 32, mousePosY / 32, 0, 500); + mousePosX / 32, mousePosY / 32, player_node->getWalkMask(), 500); lastMouseDestination = mouseDestination; } |