diff options
author | rubidium <rubidium@openttd.org> | 2009-04-07 18:23:14 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-04-07 18:23:14 +0000 |
commit | 22d93068890b758ac7d54256fdc24e0c3169504e (patch) | |
tree | de0bc2023bce888ef3480f009231e3c8bb85eebb /src/network/core/tcp.cpp | |
parent | 3fdb8a62c4867e14417ac92119c3acb0c3fd2d5a (diff) | |
download | openttd-22d93068890b758ac7d54256fdc24e0c3169504e.tar.xz |
(svn r15967) -Codechange: do not access NetworkSocketHandler::has_quit directly
Diffstat (limited to 'src/network/core/tcp.cpp')
-rw-r--r-- | src/network/core/tcp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/core/tcp.cpp b/src/network/core/tcp.cpp index 963257847..1ed8b618c 100644 --- a/src/network/core/tcp.cpp +++ b/src/network/core/tcp.cpp @@ -29,7 +29,7 @@ NetworkTCPSocketHandler::~NetworkTCPSocketHandler() NetworkRecvStatus NetworkTCPSocketHandler::CloseConnection() { this->writable = false; - this->has_quit = true; + NetworkSocketHandler::CloseConnection(); /* Free all pending and partially received packets */ while (this->packet_queue != NULL) { |