summaryrefslogtreecommitdiff
path: root/src/progs/manaplus/actions/windows.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-02-13 01:54:28 +0300
committerAndrei Karas <akaras@inbox.ru>2018-02-13 04:28:32 +0300
commitacba95ebb0119e7b0f9ef01d9bf3577582857253 (patch)
treeb5346c2a5642456e793b28487020cf1c727d8f07 /src/progs/manaplus/actions/windows.cpp
parent0a47f5c44ddd5fb5157d116ffe0f5ee5f4207eb0 (diff)
downloadmv-acba95ebb0119e7b0f9ef01d9bf3577582857253.tar.gz
mv-acba95ebb0119e7b0f9ef01d9bf3577582857253.tar.bz2
mv-acba95ebb0119e7b0f9ef01d9bf3577582857253.tar.xz
mv-acba95ebb0119e7b0f9ef01d9bf3577582857253.zip
Add clan window.
For now can be opened only by chat command /clan.
Diffstat (limited to 'src/progs/manaplus/actions/windows.cpp')
-rw-r--r--src/progs/manaplus/actions/windows.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/progs/manaplus/actions/windows.cpp b/src/progs/manaplus/actions/windows.cpp
index 7368ec287..04e0bcb64 100644
--- a/src/progs/manaplus/actions/windows.cpp
+++ b/src/progs/manaplus/actions/windows.cpp
@@ -30,6 +30,7 @@
#include "gui/dialogsmanager.h"
#include "gui/windows/bankwindow.h"
+#include "gui/windows/clanwindow.h"
#include "gui/windows/skilldialog.h"
#include "gui/windows/socialwindow.h"
#include "gui/windows/statuswindow.h"
@@ -343,6 +344,12 @@ impHandler0(serverInfoWindowShow)
return true;
}
+impHandler0(clanWindowShow)
+{
+ showHideWindow(clanWindow);
+ return true;
+}
+
impHandler(showItems)
{
const std::string args = event.args;