summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-05 17:46:02 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-05 20:56:16 +0300
commit12273c046fff6b2f778ef4c3cc0d8014d86233e5 (patch)
treee4dd0ca3b42c31883709dfcf0e85823e1f22479e /src/game.cpp
parent8db56130426f2c61e10219eddb67ee86bea82961 (diff)
downloadmanaplus-12273c046fff6b2f778ef4c3cc0d8014d86233e5.tar.gz
manaplus-12273c046fff6b2f778ef4c3cc0d8014d86233e5.tar.bz2
manaplus-12273c046fff6b2f778ef4c3cc0d8014d86233e5.tar.xz
manaplus-12273c046fff6b2f778ef4c3cc0d8014d86233e5.zip
Impliment packet SMSG_NPC_CUTIN. Add support for cutins.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 1a4f5c7a8..ef60b67c9 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -66,6 +66,7 @@
#ifdef EATHENA_SUPPORT
#include "gui/windows/bankwindow.h"
+#include "gui/windows/cutinwindow.h"
#include "gui/windows/mailwindow.h"
#endif
#include "gui/windows/chatwindow.h"
@@ -212,6 +213,7 @@ static void createGuiWindows()
CREATEWIDGETV(cartWindow, InventoryWindow,
PlayerInfo::getCartInventory());
}
+ CREATEWIDGETV0(cutInWindow, CutInWindow);
#endif
CREATEWIDGETV0(shopWindow, ShopWindow);
CREATEWIDGETV0(skillDialog, SkillDialog);
@@ -353,6 +355,7 @@ static void destroyGuiWindows()
delete2(spellShortcutWindow);
#ifdef EATHENA_SUPPORT
delete2(bankWindow);
+ delete2(cutInWindow);
delete2(mailWindow);
#endif
delete2(questsWindow);