From ac77b07e299edd5a4a576dd24c1ccea9bcaed7ce Mon Sep 17 00:00:00 2001 From: scrawl Date: Fri, 30 May 2014 11:18:06 +0200 Subject: [PATCH] Small fix for menu background --- apps/openmw/mwgui/mainmenu.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/openmw/mwgui/mainmenu.cpp b/apps/openmw/mwgui/mainmenu.cpp index 53ce8f488f..628f00136d 100644 --- a/apps/openmw/mwgui/mainmenu.cpp +++ b/apps/openmw/mwgui/mainmenu.cpp @@ -142,7 +142,8 @@ namespace MWGui { if (mVideo && !show) { - MyGUI::Gui::getInstance().destroyWidget(mVideo); + MyGUI::Gui::getInstance().destroyWidget(mVideoBackground); + mVideoBackground = NULL; mVideo = NULL; } if (mBackground && !show)