summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-02-07 11:06:34 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-02-07 11:09:10 +0100
commit90a52bfc4eeecff7d5fc683aed45c0b51d6880ac (patch)
tree2398f8381e9449a805bd585c042b0645ca0f9340 /src
parent9d4162ccf4785e168ff9b8abf2c51bd13d633575 (diff)
downloadmana-client-90a52bfc4eeecff7d5fc683aed45c0b51d6880ac.tar.gz
mana-client-90a52bfc4eeecff7d5fc683aed45c0b51d6880ac.tar.bz2
mana-client-90a52bfc4eeecff7d5fc683aed45c0b51d6880ac.tar.xz
mana-client-90a52bfc4eeecff7d5fc683aed45c0b51d6880ac.zip
Show the "Connecting..." dialog more often
Also show it when trying to login and when getting the list of characters, both of which are situations in which we are waiting for the server to respond. I hope I got the previous state thing right.
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index b1ab8a68..b8eb8671 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -972,6 +972,7 @@ int main(int argc, char *argv[])
case STATE_LOGIN_ATTEMPT:
logger->log("State: LOGIN ATTEMPT");
accountLogin(&loginData);
+ currentDialog = new ConnectionDialog(STATE_SWITCH_SERVER);
break;
case STATE_WORLD_SELECT:
@@ -1059,6 +1060,7 @@ int main(int argc, char *argv[])
case STATE_GET_CHARACTERS:
logger->log("State: GET CHARACTERS");
Net::getCharHandler()->getCharacters();
+ currentDialog = new ConnectionDialog(STATE_SWITCH_SERVER);
break;
case STATE_CHAR_SELECT: