From 7b155f111daf5d7ae477b16d0f0789b1113bea74 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 6 Jun 2012 00:04:33 +0300 Subject: Fix some issues after auto checking. --- src/net/manaserv/connection.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/net/manaserv/connection.cpp') diff --git a/src/net/manaserv/connection.cpp b/src/net/manaserv/connection.cpp index 2467eb198..7ac05b484 100644 --- a/src/net/manaserv/connection.cpp +++ b/src/net/manaserv/connection.cpp @@ -33,9 +33,10 @@ namespace ManaServ { Connection::Connection(ENetHost *client): - mConnection(0), mClient(client) + mPort(0), + mConnection(0), + mClient(client) { - mPort = 0; connections++; } -- cgit v1.2.3-70-g09d2