summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2009-10-03 22:48:05 +0200
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2009-10-03 22:54:04 +0200
commit9d7352022369a04d957028515d2468297422f5e7 (patch)
treec74dd3f18610f004656944e793a93ed08284a7ba /src/main.cpp
parentc18aa95dc6b44337c4ab63d9d892af6eb1f5a679 (diff)
downloadmana-9d7352022369a04d957028515d2468297422f5e7.tar.gz
mana-9d7352022369a04d957028515d2468297422f5e7.tar.bz2
mana-9d7352022369a04d957028515d2468297422f5e7.tar.xz
mana-9d7352022369a04d957028515d2468297422f5e7.zip
Added support for the "too fast" login error
So that next time somebody encounters it, it doesn't turn up as "unknown error".
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
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;