From 95227e7c07251c8f59164050543c3c134aff238f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 21 Jun 2016 20:18:38 +0300 Subject: Add support for items with cards in charcreation.xml --- src/game.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index e6da61255..84f76308c 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -107,6 +107,7 @@ #include "net/packetcounters.h" #include "net/serverfeatures.h" +#include "resources/beingslot.h" #include "resources/delayedmanager.h" #include "resources/imagewriter.h" #include "resources/mapreader.h" @@ -402,6 +403,8 @@ Game::Game() : viewport->setSize(mainGraphics->mWidth, mainGraphics->mHeight); PlayerInfo::clear(); + emptyBeingSlot = new BeingSlot; + BasicContainer2 *const top = static_cast(gui->getTop()); if (top) top->add(viewport); -- cgit v1.2.3-60-g2f50