summaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
index c8ac7ccf1..fcf150f87 100644
--- a/src/main.h
+++ b/src/main.h
@@ -119,6 +119,7 @@ class MainGameCallback : public IGameCallback
public:
MainGameCallback(IrrlichtDevice *a_device):
disconnect_requested(false),
+ changepassword_requested(false),
device(a_device)
{
}
@@ -133,7 +134,13 @@ public:
disconnect_requested = true;
}
+ virtual void changePassword()
+ {
+ changepassword_requested = true;
+ }
+
bool disconnect_requested;
+ bool changepassword_requested;
IrrlichtDevice *device;
};