summaryrefslogtreecommitdiff
path: root/src/network/network_gamelist.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-02-25 20:05:31 +0000
committeryexo <yexo@openttd.org>2010-02-25 20:05:31 +0000
commita9c8dbc0a0e1f1fc4434cf0c83ff658ab8d9e3d9 (patch)
treebe44c4af53164b9307d95a0021c276ec2b57f41c /src/network/network_gamelist.cpp
parent4377b5fd44f5267f89f565e46cdb3646cf322a93 (diff)
downloadopenttd-a9c8dbc0a0e1f1fc4434cf0c83ff658ab8d9e3d9.tar.xz
(svn r19255) -Codechange: encapsulate GRFIdentifier in GRFConfig instead of subclassing it
Diffstat (limited to 'src/network/network_gamelist.cpp')
-rw-r--r--src/network/network_gamelist.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/network_gamelist.cpp b/src/network/network_gamelist.cpp
index 62fbc822b..61efe3b79 100644
--- a/src/network/network_gamelist.cpp
+++ b/src/network/network_gamelist.cpp
@@ -172,12 +172,12 @@ void NetworkAfterNewGRFScan()
for (GRFConfig *c = item->info.grfconfig; c != NULL; c = c->next) {
assert(HasBit(c->flags, GCF_COPY));
- const GRFConfig *f = FindGRFConfig(c->grfid, c->md5sum);
+ const GRFConfig *f = FindGRFConfig(c->ident.grfid, c->ident.md5sum);
if (f == NULL) {
/* 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 */
- c->name = FindUnknownGRFName(c->grfid, c->md5sum, true);
+ c->name = FindUnknownGRFName(c->ident.grfid, c->ident.md5sum, true);
c->status = GCS_NOT_FOUND;
/* If we miss a file, we're obviously incompatible */