summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2011-12-11 12:55:04 +0000
committeryexo <yexo@openttd.org>2011-12-11 12:55:04 +0000
commit7a7d9a7b6bec20c94ae3f190e52beacac5007fce (patch)
tree78fabeda4ef0349db557ab7e484a7f01ad83cbad /src/network
parentf3b78bf076724b10d5e70fdac7babca228447b78 (diff)
downloadopenttd-7a7d9a7b6bec20c94ae3f190e52beacac5007fce.tar.xz
(svn r23494) -Feature: [NewGRF] action14 node INFO->URL_ to add an url
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_udp.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/network_udp.cpp b/src/network/network_udp.cpp
index 3f7e8e087..974b0bf6b 100644
--- a/src/network/network_udp.cpp
+++ b/src/network/network_udp.cpp
@@ -421,6 +421,9 @@ void ClientNetworkUDPSocketHandler::HandleIncomingNetworkGameInfoGRFConfig(GRFCo
config->info->Release();
config->info = f->info;
config->info->AddRef();
+ config->url->Release();
+ config->url = f->url;
+ config->url->AddRef();
}
SetBit(config->flags, GCF_COPY);
}