File diff r26828:fa6e2fa4b68c → r26829:f1ebd010c392
src/network/network_content.cpp
Show inline comments
 
@@ -1054,11 +1054,11 @@ void ClientNetworkContentSocketHandler::
 
		 * After that's done run over them once again to test their children
 
		 * to unselect. Don't do it immediately because it'll do exactly what
 
		 * we're doing now. */
 
		for (const ContentInfo *c : parents) {
 
			if (c->state == ContentInfo::AUTOSELECTED) this->Unselect(c->id);
 
		for (const ContentInfo *parent : parents) {
 
			if (parent->state == ContentInfo::AUTOSELECTED) this->Unselect(parent->id);
 
		}
 
		for (const ContentInfo *c : parents) {
 
			this->CheckDependencyState(this->GetContent(c->id));
 
		for (const ContentInfo *parent : parents) {
 
			this->CheckDependencyState(this->GetContent(parent->id));
 
		}
 
	}
 
}