mirror of
https://github.com/glest/glest-source.git
synced 2025-08-28 10:19:55 +02:00
- rolled back last change as it makes things worse
This commit is contained in:
@@ -363,8 +363,7 @@ bool Map::isResourceNear(const Vec2i &pos, const ResourceType *rt, Vec2i &resour
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(fallbackToPeersHarvestingSameResource == true && unit != NULL &&
|
if(fallbackToPeersHarvestingSameResource == true && unit != NULL) {
|
||||||
unit->getFaction()->getControlType() != ctHuman &&unit->getFaction()->getControlType() != ctNetwork) {
|
|
||||||
// Look for another unit that is currently harvesting the same resource
|
// Look for another unit that is currently harvesting the same resource
|
||||||
// type right now
|
// type right now
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user