diff options
author | rubidium <rubidium@openttd.org> | 2010-10-24 16:40:02 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-10-24 16:40:02 +0000 |
commit | 744bc2a614bf373b341cf8cb798a9d56ed31c155 (patch) | |
tree | 2133a92bb0cb24396709c9c98f296d5521e271c6 /src/network/network_client.h | |
parent | c5015bb5bddd25dc912319a692b3fcbef1d030a6 (diff) | |
download | openttd-744bc2a614bf373b341cf8cb798a9d56ed31c155.tar.xz |
(svn r21027) -Change/Fix: under some circumstances the file handle of the downloaded savegame wouldn't be closed, and validity of the handled wasn't checked in all cases
Diffstat (limited to 'src/network/network_client.h')
-rw-r--r-- | src/network/network_client.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/network_client.h b/src/network/network_client.h index bdf8209a5..578b8026b 100644 --- a/src/network/network_client.h +++ b/src/network/network_client.h @@ -18,6 +18,9 @@ /** Class for handling the client side of the game connection. */ class ClientNetworkGameSocketHandler : public ZeroedMemoryAllocator, public NetworkGameSocketHandler { +private: + FILE *download_file; ///< Handle used for downloading the savegame. + protected: friend void NetworkExecuteLocalCommandQueue(); friend void NetworkClose(bool close_admins); |