diff options
author | rubidium <rubidium@openttd.org> | 2007-04-04 12:03:10 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-04-04 12:03:10 +0000 |
commit | 1c1a4bc872b1bbc18a9ebe468f30d8dade922f74 (patch) | |
tree | c43d134ecdffb49cfa20069d19250e6a2d89b769 /src/network | |
parent | 45b0c8042fa51c9cedfd6cda51187711382ae6d6 (diff) | |
download | openttd-1c1a4bc872b1bbc18a9ebe468f30d8dade922f74.tar.xz |
(svn r9560) -Codechange: add support for multiple 'base' directories for newgrf searching.
-Codechange: do not add duplicate files to the newgrf list.
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/network_udp.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/network/network_udp.cpp b/src/network/network_udp.cpp index 063a1aef2..4031f2f6e 100644 --- a/src/network/network_udp.cpp +++ b/src/network/network_udp.cpp @@ -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); } |