mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 19:19:56 +00:00
fix uninitialized pointer variables in some classes
This commit is contained in:
parent
a5245d5a13
commit
db38108801
4 changed files with 9 additions and 1 deletions
|
@ -39,6 +39,8 @@ namespace MWGui
|
|||
, mPreviewDirty(true)
|
||||
, mPreviewResize(true)
|
||||
, mDragAndDrop(dragAndDrop)
|
||||
, mSortModel(NULL)
|
||||
, mTradeModel(NULL)
|
||||
, mSelectedItem(-1)
|
||||
, mGuiMode(GM_Inventory)
|
||||
{
|
||||
|
|
|
@ -29,6 +29,7 @@ namespace MWGui
|
|||
, mButtonBox(0), mWidth (w), mHeight (h)
|
||||
, mSaveGameDialog(NULL)
|
||||
, mBackground(NULL)
|
||||
, mVideoBackground(NULL)
|
||||
, mVideo(NULL)
|
||||
{
|
||||
getWidget(mVersionText, "VersionText");
|
||||
|
|
|
@ -447,8 +447,12 @@ namespace MWGui
|
|||
|
||||
EffectEditorBase::EffectEditorBase(Type type)
|
||||
: mAddEffectDialog()
|
||||
, mAvailableEffectsList(NULL)
|
||||
, mUsedEffectsView(NULL)
|
||||
, mSelectAttributeDialog(NULL)
|
||||
, mSelectSkillDialog(NULL)
|
||||
, mSelectedEffect(0)
|
||||
, mSelectedKnownEffectId(0)
|
||||
, mType(type)
|
||||
{
|
||||
mAddEffectDialog.eventEffectAdded += MyGUI::newDelegate(this, &EffectEditorBase::onEffectAdded);
|
||||
|
|
|
@ -123,6 +123,7 @@ namespace MWGui
|
|||
, mScreenFader(NULL)
|
||||
, mDebugWindow(NULL)
|
||||
, mTranslationDataStorage (translationDataStorage)
|
||||
, mSoftwareCursor(NULL)
|
||||
, mCharGen(NULL)
|
||||
, mInputBlocker(NULL)
|
||||
, mCrosshairEnabled(Settings::Manager::getBool ("crosshair", "HUD"))
|
||||
|
|
Loading…
Reference in a new issue