mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-02 09:40:35 +00:00
(svn r18610) -Codechange: don't consider a music set at all for 'best' set when it's missing files
This commit is contained in:
parent
c93d873638
commit
6e97343df6
@ -43,6 +43,8 @@ template <class Tbase_set>
|
||||
|
||||
const Tbase_set *best = NULL;
|
||||
for (const Tbase_set *c = BaseMedia<Tbase_set>::available_sets; c != NULL; c = c->next) {
|
||||
if (c->GetNumMissing() != 0) continue;
|
||||
|
||||
if (best == NULL ||
|
||||
best->valid_files < c->valid_files ||
|
||||
(best->valid_files == c->valid_files &&
|
||||
|
Loading…
Reference in New Issue
Block a user