diff --git a/libopenage/pathfinding/demo/demo_1.cpp b/libopenage/pathfinding/demo/demo_1.cpp index 1a4ea42ac6..5a90f97218 100644 --- a/libopenage/pathfinding/demo/demo_1.cpp +++ b/libopenage/pathfinding/demo/demo_1.cpp @@ -126,6 +126,7 @@ void path_demo_1(const util::Path &path) { target, }; + timer.reset(); timer.start(); path_result = pathfinder->get_path(new_path_request); timer.stop(); @@ -143,6 +144,7 @@ void path_demo_1(const util::Path &path) { target, }; + timer.reset(); timer.start(); path_result = pathfinder->get_path(new_path_request); timer.stop();