diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-21 20:18:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-21 21:45:47 +0300 |
commit | 95227e7c07251c8f59164050543c3c134aff238f (patch) | |
tree | 1b45789ca770f7251a557281da22892923470a68 /src/game.cpp | |
parent | ae351c43eca44c532404deb9f10bf3e4b97406bf (diff) | |
download | ManaVerse-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.cpp | 3 |
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); |