diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-28 14:30:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-28 14:30:31 +0300 |
commit | 462867b1d99cf63a27566449cbf8f0feda7f1ec6 (patch) | |
tree | 3d4a159827bc5af72a2c5aedc89698fee44033c2 /src/gui/windows/charcreatedialog.cpp | |
parent | bc27e1bc29ab07a8560db30355ca3aeb3cfb724f (diff) | |
download | plus-462867b1d99cf63a27566449cbf8f0feda7f1ec6.tar.gz plus-462867b1d99cf63a27566449cbf8f0feda7f1ec6.tar.bz2 plus-462867b1d99cf63a27566449cbf8f0feda7f1ec6.tar.xz plus-462867b1d99cf63a27566449cbf8f0feda7f1ec6.zip |
Revert "Remove setMap from being constructor."
This reverts commit 9cf563fa7f4059bfddd82efdaa89df2ed07a6d7c.
Diffstat (limited to 'src/gui/windows/charcreatedialog.cpp')
-rw-r--r-- | src/gui/windows/charcreatedialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/charcreatedialog.cpp b/src/gui/windows/charcreatedialog.cpp index d23a40f7a..5164c89b6 100644 --- a/src/gui/windows/charcreatedialog.cpp +++ b/src/gui/windows/charcreatedialog.cpp @@ -121,7 +121,8 @@ CharCreateDialog::CharCreateDialog(CharSelectDialog *const parent, mLook(0), mMinLook(CharDB::getMinLook()), mMaxLook(CharDB::getMaxLook()), - mPlayer(new Being(0, ActorSprite::PLAYER, static_cast<uint16_t>(mRace))), + mPlayer(new Being(0, ActorSprite::PLAYER, static_cast<uint16_t>(mRace), + nullptr)), mPlayerBox(new PlayerBox(mPlayer, "charcreate_playerbox.xml", "charcreate_selectedplayerbox.xml")), mHairStyle(0), |