changeset 294:7416088ab191

removed the deleted of the heuristic in the RoutePatherSearch class. Don't want to delete the heuristic since it is holding a pointer to a singleton object. If this is ever not holding a pointer returned by a singleton then it will leak since it is not being deleted.
author vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
date Thu, 02 Jul 2009 02:14:12 +0000
parents 66df2422a8b0
children faabfaf25f15
files engine/core/pathfinder/routepather/routepathersearch.cpp
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/engine/core/pathfinder/routepather/routepathersearch.cpp	Tue Jun 30 20:03:02 2009 +0000
+++ b/engine/core/pathfinder/routepather/routepathersearch.cpp	Thu Jul 02 02:14:12 2009 +0000
@@ -57,7 +57,6 @@
 
         RoutePatherSearch::~RoutePatherSearch(){
                  delete m_searchspace;
-                 delete m_heuristic;
         }
 
 	void RoutePatherSearch::updateSearch() {