diff options
author | rubidium <rubidium@openttd.org> | 2010-10-15 18:42:52 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-10-15 18:42:52 +0000 |
commit | 7ba07d9573b7224846c183db25af43253bf5f7b9 (patch) | |
tree | 75acd4a6ab38474b6e5c758ef43de27d1f3a6117 /src/network/core/tcp_game.h | |
parent | 8f9ae44a6713efa41de390846b6804a0d3d3bc92 (diff) | |
download | openttd-7ba07d9573b7224846c183db25af43253bf5f7b9.tar.xz |
(svn r20929) -Codechange: make NetworkCloseClient a class method
Diffstat (limited to 'src/network/core/tcp_game.h')
-rw-r--r-- | src/network/core/tcp_game.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/core/tcp_game.h b/src/network/core/tcp_game.h index f083396e8..5ab814bae 100644 --- a/src/network/core/tcp_game.h +++ b/src/network/core/tcp_game.h @@ -179,6 +179,7 @@ public: CommandQueue outgoing_queue; ///< The command-queue awaiting delivery NetworkRecvStatus CloseConnection(bool error = true); + virtual NetworkRecvStatus CloseConnection(NetworkRecvStatus status) = 0; virtual ~NetworkGameSocketHandler() {} inline void SetInfo(NetworkClientInfo *info) { assert(info != NULL && this->info == NULL); this->info = info; } |