diff engine/core/pathfinder/routepather/routepathersearch.cpp @ 339:0fd74235b34d

Fixes. * The signature of InstanceTree.add/remove is adapted to the new behaviour. * Add/Remove ActionListeners from Instances should now be reentrant. * Small compile warning fixed.
author phoku@33b003aa-7bff-0310-803a-e67f0ece8222
date Mon, 24 Aug 2009 18:52:49 +0000
parents 8afb9b443f66
children 64738befdf3b
line wrap: on
line diff
--- a/engine/core/pathfinder/routepather/routepathersearch.cpp	Mon Aug 24 18:32:03 2009 +0000
+++ b/engine/core/pathfinder/routepather/routepathersearch.cpp	Mon Aug 24 18:52:49 2009 +0000
@@ -107,7 +107,6 @@
 		Location to(m_to);
 		to.setExactLayerCoordinates(FIFE::intPt2doublePt(to.getLayerCoordinates()));
 		path.push_back(to);
-                int count = 0;
 		while(current != end) {
                         if(m_spt[current] < 0 ) {
                              // This is when the size of m_spt can not handle the distance of the location