From 9d7352022369a04d957028515d2468297422f5e7 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Sat, 3 Oct 2009 22:48:05 +0200 Subject: Added support for the "too fast" login error So that next time somebody encounters it, it doesn't turn up as "unknown error". --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 63f56818..3194bf09 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -847,7 +847,7 @@ int main(int argc, char *argv[]) defaultScreenHeight)); desktop->setSize(screenWidth, screenHeight); - + if (state != STATE_ERROR) state = STATE_CHOOSE_SERVER; State oldstate = STATE_START; // We start with a status change @@ -1100,7 +1100,7 @@ int main(int argc, char *argv[]) case STATE_REGISTER_ATTEMPT: logger->log("Username is %s", loginData.username.c_str()); - + Net::getCharHandler()->setCharInfo(&charInfo); Net::getLoginHandler()->registerAccount(&loginData); break; -- cgit v1.2.3-70-g09d2