From 0f6f5cfe2145f4a80cddc3931902b5f850824358 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Fri, 25 Mar 2011 20:17:14 +0000 Subject: [PATCH] - rolled back last change as it makes things worse --- source/glest_game/world/map.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/glest_game/world/map.cpp b/source/glest_game/world/map.cpp index 8623152f..a6199128 100644 --- a/source/glest_game/world/map.cpp +++ b/source/glest_game/world/map.cpp @@ -363,8 +363,7 @@ bool Map::isResourceNear(const Vec2i &pos, const ResourceType *rt, Vec2i &resour } } - if(fallbackToPeersHarvestingSameResource == true && unit != NULL && - unit->getFaction()->getControlType() != ctHuman &&unit->getFaction()->getControlType() != ctNetwork) { + if(fallbackToPeersHarvestingSameResource == true && unit != NULL) { // Look for another unit that is currently harvesting the same resource // type right now