From cc1e3c534e7e8f4275cfa7514c066987015a4c30 Mon Sep 17 00:00:00 2001 From: sakagushi Date: Thu, 6 Feb 2014 04:34:04 -0200 Subject: [PATCH] Even more fixes Forgot to clean the garbage generated in the last commit. --- src/client/map.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/map.cpp b/src/client/map.cpp index 41c86874..4b9c9eeb 100644 --- a/src/client/map.cpp +++ b/src/client/map.cpp @@ -807,6 +807,7 @@ std::tuple, Otc::PathFindResult> Map::findPath(const if(!node->evaluated) currentNode = node; } + searchList.clear(); } if(foundNode) {