From 69217e82e8631bbb2183a1322d0985a495c52f5e Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Sat, 3 Oct 2009 23:06:51 -0600 Subject: Polish login procedure and fix some bugs with it WorldSelectDialog now works correctly. Buttons for several dialogs have more explainatory text and consistant locations. --- src/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index e587e28e..b1d00ce4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1043,6 +1043,7 @@ int main(int argc, char *argv[]) if (worlds.size() == 0) { + // Trust that the netcode knows what it's doing state = STATE_UPDATE; } else if (worlds.size() == 1) @@ -1058,14 +1059,13 @@ int main(int argc, char *argv[]) ((WorldSelectDialog*) currentDialog)->action( gcn::ActionEvent(NULL, "ok")); } - - state = STATE_WORLD_SELECT_ATTEMPT; } } break; case STATE_WORLD_SELECT_ATTEMPT: - // TODO + logger->log("State: Attempting world selection"); + currentDialog = new ConnectionDialog(STATE_WORLD_SELECT); break; case STATE_LOGIN_ERROR: -- cgit v1.2.3-70-g09d2