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 | a775cdc03ae315a8952ed21fcfd4c2eab4082e1f (patch) | |
tree | 4156328dcaf5ca8669cbf80847cc1859688b8bf8 /src/network | |
parent | 5b8e48f555c0fda7837a2b654a9a2cc6fb59cf52 (diff) | |
download | openttd-a775cdc03ae315a8952ed21fcfd4c2eab4082e1f.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/network')
-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++; } |