summaryrefslogtreecommitdiff
path: root/src/net/manaserv/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/manaserv/connection.cpp')
-rw-r--r--src/net/manaserv/connection.cpp5
1 files changed, 3 insertions, 2 deletions
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++;
}