mirror of https://github.com/OpenTTD/OpenTTD
(svn r17245) -Fix [FS#3137] (r17015): you could, via unselect all, also unselect already installed content; it would not uninstall it though
parent
2c896a9c6c
commit
865fc40e29
|
@ -612,7 +612,7 @@ void ClientNetworkContentSocketHandler::UnselectAll()
|
|||
{
|
||||
for (ContentIterator iter = this->infos.Begin(); iter != this->infos.End(); iter++) {
|
||||
ContentInfo *ci = *iter;
|
||||
if (ci->IsSelected()) ci->state = ContentInfo::UNSELECTED;
|
||||
if (ci->IsSelected() && ci->state != ContentInfo::ALREADY_HERE) ci->state = ContentInfo::UNSELECTED;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue