From 4cffca0da71771d0d51ba4cd4842d2d93aa2946e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 2 Oct 2012 21:38:23 +0300 Subject: Fix some conversions. --- src/gui/charcreatedialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/charcreatedialog.cpp') diff --git a/src/gui/charcreatedialog.cpp b/src/gui/charcreatedialog.cpp index 37839c7ee..d029b7083 100644 --- a/src/gui/charcreatedialog.cpp +++ b/src/gui/charcreatedialog.cpp @@ -96,7 +96,8 @@ CharCreateDialog::CharCreateDialog(CharSelectDialog *const parent, mCreateButton(new Button(_("Create"), "create", this)), mCancelButton(new Button(_("Cancel"), "cancel", this)), mRace(0), - mPlayer(new Being(0, ActorSprite::PLAYER, mRace, nullptr)), + mPlayer(new Being(0, ActorSprite::PLAYER, static_cast(mRace), + nullptr)), mPlayerBox(new PlayerBox(mPlayer, "charcreate_playerbox.xml")), mSlot(slot), mAction(0), -- cgit v1.2.3-70-g09d2