summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 7daba4bf..3121f57f 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -56,6 +56,7 @@
#include "gui/gui.h"
#include "gui/login.h"
#include "gui/ok_dialog.h"
+#include "gui/register.h"
#include "gui/updatewindow.h"
#include "resources/image.h"
@@ -465,6 +466,11 @@ int main(int argc, char *argv[])
currentDialog = new LoginDialog();
inputHandler = loginInputHandler;
break;
+ case REGISTER_STATE:
+ logger->log("State: REGISTER");
+ currentDialog = new RegisterDialog();
+ inputHandler = loginInputHandler;
+ break;
case CHAR_SERVER_STATE:
logger->log("State: CHAR_SERVER");
currentDialog = new ServerSelectDialog();