diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2006-09-03 21:19:29 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2006-09-03 21:19:29 +0000 |
commit | dad26eb1e565be8f85b1e8de58cac5d7165af171 (patch) | |
tree | ef8541594e8c5afa0efbfdfa3897d2e7f1269cde | |
parent | 2f0e3106582a3442220b2fbf5580d3d1659efc17 (diff) | |
download | manaserv-dad26eb1e565be8f85b1e8de58cac5d7165af171.tar.gz manaserv-dad26eb1e565be8f85b1e8de58cac5d7165af171.tar.bz2 manaserv-dad26eb1e565be8f85b1e8de58cac5d7165af171.tar.xz manaserv-dad26eb1e565be8f85b1e8de58cac5d7165af171.zip |
Added TODO comment on pathfinding.
-rw-r--r-- | src/object.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/object.cpp b/src/object.cpp index 6f4c7ac6..f48d54f4 100644 --- a/src/object.cpp +++ b/src/object.cpp @@ -41,6 +41,7 @@ void MovingObject::move() int tileDX = mDst.x / 32, tileDY = mDst.y / 32; if (tileSX != tileDX || tileSY != tileDY) { + // TODO: cache pathfinding results path = map->findPath(tileSX, tileSY, tileDX, tileDY); if (path.empty()) { // no path was found |