diff options
author | David Athay <ko2fan@gmail.com> | 2009-04-20 15:08:28 +0100 |
---|---|---|
committer | David Athay <ko2fan@gmail.com> | 2009-04-20 15:08:28 +0100 |
commit | f1d6803dd8a90db885d4d7c1734783acdcd95485 (patch) | |
tree | 5e0de497043464a240a3e43fda00d0500c499dab /src/net/tmwserv/connection.cpp | |
parent | d6dbd51deeae42a621534e6565aaeb468ecc5d17 (diff) | |
download | mana-f1d6803dd8a90db885d4d7c1734783acdcd95485.tar.gz mana-f1d6803dd8a90db885d4d7c1734783acdcd95485.tar.bz2 mana-f1d6803dd8a90db885d4d7c1734783acdcd95485.tar.xz mana-f1d6803dd8a90db885d4d7c1734783acdcd95485.zip |
Fix clearing handlers on connecting to game server.
Diffstat (limited to 'src/net/tmwserv/connection.cpp')
-rw-r--r-- | src/net/tmwserv/connection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwserv/connection.cpp b/src/net/tmwserv/connection.cpp index 0fcd530b..6762af89 100644 --- a/src/net/tmwserv/connection.cpp +++ b/src/net/tmwserv/connection.cpp @@ -83,7 +83,7 @@ void Net::Connection::disconnect() bool Net::Connection::isConnected() { - return bool (mConnection) ? + return (mConnection) ? (mConnection->state == ENET_PEER_STATE_CONNECTED) : false; } |