Hi,
Just wondering, in Team.cpp of the 0.9.3 source code, in the function void Team::updateAllBuildingTasks(), why is the block:
for(unsigned j=0; j<(i->second.size()); ++j)
{
if(foundPer[j])
{
bool thisFound=false;
if(i->second[j]->type->isVirtual)
thisFound |= (i->second)[j]->subscribeForFlagingStep();
else
thisFound |= (i->second)[j]->subscribeToBringRessourcesStep();
found |= thisFound;
foundPer[j] = thisFound;
}
}
located inside the while(cont) loop? What is the purpose of this outer while() loop?
Thanks.
Quinn