summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2012-08-21 19:03:21 +0000
committerrubidium <rubidium@openttd.org>2012-08-21 19:03:21 +0000
commit4563c50c91e7a66d90fd35ecb84cebd2560beec5 (patch)
treeb338c875a0176b753d9d5e144d55126ab4b56574
parent7284d716bc6710a2879cc1a2bf28295e13d53bbd (diff)
downloadopenttd-4563c50c91e7a66d90fd35ecb84cebd2560beec5.tar.xz
(svn r24491) -Fix: compilation error with networking disabled
-rw-r--r--src/fios.h2
-rw-r--r--src/network/core/tcp_content.cpp1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/fios.h b/src/fios.h
index ffb603af4..aca7ff407 100644
--- a/src/fios.h
+++ b/src/fios.h
@@ -181,6 +181,4 @@ extern const TextColour _fios_colours[];
void BuildFileList();
void SetFiosType(const byte fiostype);
-const char *FindScenario(const ContentInfo *ci, bool md5sum);
-
#endif /* FIOS_H */
diff --git a/src/network/core/tcp_content.cpp b/src/network/core/tcp_content.cpp
index 7d8a898ef..f780798b0 100644
--- a/src/network/core/tcp_content.cpp
+++ b/src/network/core/tcp_content.cpp
@@ -130,6 +130,7 @@ const char *ContentInfo::GetTextfile(TextfileType type) const
break;
case CONTENT_TYPE_SCENARIO:
case CONTENT_TYPE_HEIGHTMAP:
+ extern const char *FindScenario(const ContentInfo *ci, bool md5sum);
tmp = FindScenario(this, true);
break;
}