diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-03-27 21:41:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-03-27 21:41:20 +0300 |
commit | 964ffbb9b6ed5246b14a7d0c0d065f7d38af0912 (patch) | |
tree | edef1b3f31183402e2d0f86ee48c9734c2a03c7e /src/net/net.cpp | |
parent | 41ac086fcd38fd472b579a495a8e8e7685ae4722 (diff) | |
download | ManaVerse-964ffbb9b6ed5246b14a7d0c0d065f7d38af0912.tar.gz ManaVerse-964ffbb9b6ed5246b14a7d0c0d065f7d38af0912.tar.bz2 ManaVerse-964ffbb9b6ed5246b14a7d0c0d065f7d38af0912.tar.xz ManaVerse-964ffbb9b6ed5246b14a7d0c0d065f7d38af0912.zip |
Fix some warnings and improve code from gcc 4.6 compilation.
Diffstat (limited to 'src/net/net.cpp')
-rw-r--r-- | src/net/net.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/net/net.cpp b/src/net/net.cpp index 89f63cce3..7d530940a 100644 --- a/src/net/net.cpp +++ b/src/net/net.cpp @@ -166,11 +166,9 @@ void connectToServer(const ServerInfo &server) break; #endif case ServerInfo::TMWATHENA: - new TmwAthena::GeneralHandler; - break; - + case ServerInfo::UNKNOWN: default: - // Shouldn't happen... + new TmwAthena::GeneralHandler; break; } |