- rolled back last change as it makes things worse

This commit is contained in:
Mark Vejvoda 2011-03-25 20:17:14 +00:00
parent 742cbaa1c7
commit 0f6f5cfe21
1 changed files with 1 additions and 2 deletions

View File

@ -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