(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>".
This commit is contained in:
		@@ -289,7 +289,7 @@ DEF_UDP_RECEIVE_COMMAND(Client, PACKET_UDP_SERVER_RESPONSE)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
		for (c = item->info.grfconfig; c != NULL; c = c->next) {
 | 
							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) 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[in_request_count] = c;
 | 
				
			||||||
			in_request_count++;
 | 
								in_request_count++;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user