summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-21 20:18:38 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-21 21:45:47 +0300
commit95227e7c07251c8f59164050543c3c134aff238f (patch)
tree1b45789ca770f7251a557281da22892923470a68 /src/game.cpp
parentae351c43eca44c532404deb9f10bf3e4b97406bf (diff)
downloadManaVerse-95227e7c07251c8f59164050543c3c134aff238f.tar.gz
ManaVerse-95227e7c07251c8f59164050543c3c134aff238f.tar.bz2
ManaVerse-95227e7c07251c8f59164050543c3c134aff238f.tar.xz
ManaVerse-95227e7c07251c8f59164050543c3c134aff238f.zip
Add support for items with cards in charcreation.xml
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 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<BasicContainer2*>(gui->getTop());
if (top)
top->add(viewport);