aboutsummaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-05-23 00:12:24 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-05-23 00:12:24 +0300
commite1a2b8f600ff9845ecff0f06c85d4d2c29970414 (patch)
tree6b948bf2bb238232f2d6faea84b70bafb8eaae89 /src/game.cpp
parent4a6b9a6ac1b07239474bce8d3ebf772ce75e862e (diff)
parenta8a3271470299820c5322523dc439415bc1ff8a0 (diff)
downloadminetest-e1a2b8f600ff9845ecff0f06c85d4d2c29970414.tar.gz
minetest-e1a2b8f600ff9845ecff0f06c85d4d2c29970414.tar.bz2
minetest-e1a2b8f600ff9845ecff0f06c85d4d2c29970414.zip
merged password change menu
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 99e08b7bf..e82e4cd8e 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -22,6 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "client.h"
#include "server.h"
#include "guiPauseMenu.h"
+#include "guiPasswordChange.h"
#include "guiInventoryMenu.h"
#include "guiTextInputMenu.h"
#include "guiFurnaceMenu.h"
@@ -912,6 +913,13 @@ void the_game(
break;
}
+ if(g_gamecallback->changepassword_requested)
+ {
+ (new GUIPasswordChange(guienv, guiroot, -1,
+ &g_menumgr, &client))->drop();
+ g_gamecallback->changepassword_requested = false;
+ }
+
/*
Process TextureSource's queue
*/