mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-19 04:29:09 +00:00
(svn r9560) -Codechange: add support for multiple 'base' directories for newgrf searching.
-Codechange: do not add duplicate files to the newgrf list.
This commit is contained in:
@@ -391,12 +391,13 @@ void ClientNetworkUDPSocketHandler::HandleIncomingNetworkGameInfoGRFConfig(GRFCo
|
||||
/* Don't know the GRF, so mark game incompatible and the (possibly)
|
||||
* already resolved name for this GRF (another server has sent the
|
||||
* name of the GRF already */
|
||||
config->name = FindUnknownGRFName(config->grfid, config->md5sum, true);
|
||||
config->status = GCS_NOT_FOUND;
|
||||
config->name = FindUnknownGRFName(config->grfid, config->md5sum, true);
|
||||
config->status = GCS_NOT_FOUND;
|
||||
} else {
|
||||
config->filename = f->filename;
|
||||
config->name = f->name;
|
||||
config->info = f->info;
|
||||
config->filename = f->filename;
|
||||
config->full_path = f->full_path;
|
||||
config->name = f->name;
|
||||
config->info = f->info;
|
||||
}
|
||||
SETBIT(config->flags, GCF_COPY);
|
||||
}
|
||||
|
Reference in New Issue
Block a user