summaryrefslogtreecommitdiff
path: root/src/network/network_client.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-11-26 22:25:02 +0000
committerrubidium <rubidium@openttd.org>2010-11-26 22:25:02 +0000
commit67f74559fc886f6d5afdd3cdd1475fad46d2b4f9 (patch)
treed7359217a2bf80cd45094f500fe647b4f6ef18d7 /src/network/network_client.h
parentc9a186c9fffdb885209f5ecde79565d8fc05dbe7 (diff)
downloadopenttd-67f74559fc886f6d5afdd3cdd1475fad46d2b4f9.tar.xz
(svn r21334) -Fix [FS#4271]: make (more) sure that the savegame and transferred file are the same file and not different ones
Diffstat (limited to 'src/network/network_client.h')
-rw-r--r--src/network/network_client.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network/network_client.h b/src/network/network_client.h
index 597aec193..bfe4c7613 100644
--- a/src/network/network_client.h
+++ b/src/network/network_client.h
@@ -19,7 +19,8 @@
/** 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.
+ FILE *download_file; ///< Handle used for downloading the savegame.
+ char *download_filename; ///< File name of the downloading savegame, so we open the right one.
/** Status of the connection with the server. */
enum ServerStatus {