summaryrefslogtreecommitdiff
path: root/src/network/core/tcp_content.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-01-20 21:05:13 +0000
committerrubidium <rubidium@openttd.org>2009-01-20 21:05:13 +0000
commitff328bf68b2ff38489e9bc4d49282f6edcfe61fa (patch)
tree22fb93915d8e91a7f522f54378a99954ea007ef4 /src/network/core/tcp_content.h
parent052c957a94149bc79a46720a8724fed29bb524d6 (diff)
downloadopenttd-ff328bf68b2ff38489e9bc4d49282f6edcfe61fa.tar.xz
(svn r15178) -Change: rename 'update' to 'upgrade' as that's a bit more clear
Diffstat (limited to 'src/network/core/tcp_content.h')
-rw-r--r--src/network/core/tcp_content.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/core/tcp_content.h b/src/network/core/tcp_content.h
index e084f5fc7..4d304017a 100644
--- a/src/network/core/tcp_content.h
+++ b/src/network/core/tcp_content.h
@@ -71,7 +71,7 @@ struct ContentInfo {
uint8 tag_count; ///< Number of tags
char (*tags)[32]; ///< Malloced array of tags (strings)
State state; ///< Whether the content info is selected (for download)
- bool update; ///< This item is an update
+ bool upgrade; ///< This item is an upgrade
/** Clear everything in the struct */
ContentInfo();
@@ -103,7 +103,7 @@ class NetworkContentSocketHandler : public NetworkTCPSocketHandler {
protected:
struct sockaddr_in client_addr; ///< The address we're connected to.
NetworkRecvStatus CloseConnection();
- void Close();
+ virtual void Close();
/**
* Client requesting a list of content info: