Fixed fallback to default skin
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5448 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
0f32d738b4
commit
db52b6907d
@ -633,6 +633,7 @@ namespace GUIEngine
|
||||
{
|
||||
g_skin = new Skin(g_env->getSkin());
|
||||
g_env->setSkin(g_skin);
|
||||
g_skin->drop(); // GUI env grabbed it
|
||||
assert(g_skin->getReferenceCount() == 1);
|
||||
}
|
||||
catch (std::runtime_error& err)
|
||||
|
Loading…
Reference in New Issue
Block a user