From 90a52bfc4eeecff7d5fc683aed45c0b51d6880ac Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Sun, 7 Feb 2010 11:06:34 +0100 Subject: 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. --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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: -- cgit v1.2.3-70-g09d2