summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-11-02 16:21:45 -0700
committerJared Adams <jaxad0127@gmail.com>2009-11-02 16:21:45 -0700
commitc403126b21efa2d4bfca7ba48d8e997149530993 (patch)
tree4bbfd319aac669f2e3efa47dcb9c3a570cef8a7d
parent08c65b8c721c70268fa0693a7aafc5b828c37162 (diff)
downloadmana-client-c403126b21efa2d4bfca7ba48d8e997149530993.tar.gz
mana-client-c403126b21efa2d4bfca7ba48d8e997149530993.tar.bz2
mana-client-c403126b21efa2d4bfca7ba48d8e997149530993.tar.xz
mana-client-c403126b21efa2d4bfca7ba48d8e997149530993.zip
Fix connecting to ManaServ
-rw-r--r--src/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 18a28fa2..7aa795ac 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -893,7 +893,9 @@ int main(int argc, char *argv[])
{
Net::getLoginHandler()->disconnect();
- //state = STATE_GAME;
+#ifdef MANASERV_SUPPORT
+ state = STATE_GAME;
+#endif
}
else if (state == STATE_CONNECT_SERVER && oldstate == STATE_CHOOSE_SERVER)
{