diff options
author | rubidium <rubidium@openttd.org> | 2007-06-27 10:02:55 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-27 10:02:55 +0000 |
commit | f603383eb9a11b6b951910933fcab305c6c1fe68 (patch) | |
tree | 4156328dcaf5ca8669cbf80847cc1859688b8bf8 /src | |
parent | 3332b21b19a0ca2d515da96fe4104e0ba5cda8b4 (diff) | |
download | openttd-f603383eb9a11b6b951910933fcab305c6c1fe68.tar.xz |
(svn r10352) -Fix: the network did not request the newgrf names of newgrfs that it couldn't find; it only wanted to request the newgrf names of newgrfs that where available locally and than were called "<Unknown>".
Diffstat (limited to 'src')
-rw-r--r-- | src/network/network_udp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_udp.cpp b/src/network/network_udp.cpp index 496604f3b..0dd5971d4 100644 --- a/src/network/network_udp.cpp +++ b/src/network/network_udp.cpp @@ -289,7 +289,7 @@ DEF_UDP_RECEIVE_COMMAND(Client, PACKET_UDP_SERVER_RESPONSE) for (c = item->info.grfconfig; c != NULL; c = c->next) { if (c->status == GCS_NOT_FOUND) item->info.compatible = false; - if (c->status == GCS_NOT_FOUND || strcmp(c->name, UNKNOWN_GRF_NAME_PLACEHOLDER) != 0) continue; + if (c->status != GCS_NOT_FOUND || strcmp(c->name, UNKNOWN_GRF_NAME_PLACEHOLDER) != 0) continue; in_request[in_request_count] = c; in_request_count++; } |