(svn r15967) -Codechange: do not access NetworkSocketHandler::has_quit directly

This commit is contained in:
rubidium
2009-04-07 18:23:14 +00:00
parent 3fdb8a62c4
commit 22d9306889
7 changed files with 34 additions and 30 deletions

View File

@@ -54,7 +54,7 @@ void NetworkUDPSocketHandler::Close()
NetworkRecvStatus NetworkUDPSocketHandler::CloseConnection()
{
this->has_quit = true;
NetworkSocketHandler::CloseConnection();
return NETWORK_RECV_STATUS_OKAY;
}
@@ -264,7 +264,7 @@ void NetworkUDPSocketHandler::HandleUDPPacket(Packet *p, NetworkAddress *client_
PacketUDPType type;
/* New packet == new client, which has not quit yet */
this->has_quit = false;
this->Reopen();
type = (PacketUDPType)p->Recv_uint8();