diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-02-01 20:27:32 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-02-01 20:27:32 +0000 |
commit | 9c0421f5926d22a44c978fff683c51748a19e976 (patch) | |
tree | 357b7ad2d10bd0fbde3be1b3641cfc80f69cb557 /src/game-server | |
parent | 20557328544d2b81b9bb0a4bfa1bae846ac960ab (diff) | |
download | manaserv-9c0421f5926d22a44c978fff683c51748a19e976.tar.gz manaserv-9c0421f5926d22a44c978fff683c51748a19e976.tar.bz2 manaserv-9c0421f5926d22a44c978fff683c51748a19e976.tar.xz manaserv-9c0421f5926d22a44c978fff683c51748a19e976.zip |
Fixed a small error that broke everything.
Diffstat (limited to 'src/game-server')
-rw-r--r-- | src/game-server/object.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game-server/object.cpp b/src/game-server/object.cpp index a6939e86..5dcafb15 100644 --- a/src/game-server/object.cpp +++ b/src/game-server/object.cpp @@ -67,8 +67,7 @@ void MovingObject::move() { // No path exists: the walkability of cached path has changed, the // destination has changed, or a path was never set. - std::list<PATH_NODE> mPath = map->findPath(tileSX, tileSY, - tileDX, tileDY); + mPath = map->findPath(tileSX, tileSY, tileDX, tileDY); } if (mPath.empty()) |