summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-07-31 23:54:43 +0000
committerrubidium <rubidium@openttd.org>2009-07-31 23:54:43 +0000
commitae71df349ebeeb1732525f34b88ab8d2782f57a4 (patch)
treef0397bf903e3977ee17023fd07a1c08b5243e8bc /src
parent3631f4063718360a822950134ed56c28205f2bef (diff)
downloadopenttd-ae71df349ebeeb1732525f34b88ab8d2782f57a4.tar.xz
(svn r17015) -Fix [FS#3075]: infinite recursion in content dependency checking
Diffstat (limited to 'src')
-rw-r--r--src/network/core/tcp_content.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/core/tcp_content.cpp b/src/network/core/tcp_content.cpp
index 889f627c7..51934108a 100644
--- a/src/network/core/tcp_content.cpp
+++ b/src/network/core/tcp_content.cpp
@@ -38,6 +38,7 @@ bool ContentInfo::IsSelected() const
switch (this->state) {
case ContentInfo::SELECTED:
case ContentInfo::AUTOSELECTED:
+ case ContentInfo::ALREADY_HERE:
return true;
default: