From 9cf563fa7f4059bfddd82efdaa89df2ed07a6d7c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 20 Oct 2013 18:11:57 +0300 Subject: Remove setMap from being constructor. --- src/gui/windows/charcreatedialog.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gui/windows/charcreatedialog.cpp') diff --git a/src/gui/windows/charcreatedialog.cpp b/src/gui/windows/charcreatedialog.cpp index 5164c89b6..d23a40f7a 100644 --- a/src/gui/windows/charcreatedialog.cpp +++ b/src/gui/windows/charcreatedialog.cpp @@ -121,8 +121,7 @@ CharCreateDialog::CharCreateDialog(CharSelectDialog *const parent, mLook(0), mMinLook(CharDB::getMinLook()), mMaxLook(CharDB::getMaxLook()), - mPlayer(new Being(0, ActorSprite::PLAYER, static_cast(mRace), - nullptr)), + mPlayer(new Being(0, ActorSprite::PLAYER, static_cast(mRace))), mPlayerBox(new PlayerBox(mPlayer, "charcreate_playerbox.xml", "charcreate_selectedplayerbox.xml")), mHairStyle(0), -- cgit v1.2.3-60-g2f50