Skip to content

Commit

Permalink
Addendum to 30eb083
Browse files Browse the repository at this point in the history
  • Loading branch information
jushar committed Dec 10, 2015
1 parent 30eb083 commit 5aa25a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MTA10/mods/deathmatch/logic/CStaticFunctionDefinitions.cpp
Expand Up @@ -4737,7 +4737,7 @@ CClientGUIElement* CStaticFunctionDefinitions::GUICreateStaticImage ( CLuaMain&
}
}

if ( pParent && !pParent->IsCallPropagationEnabled () )
if ( pGUIElement && pParent && !pParent->IsCallPropagationEnabled () )
{
pElement->SetInheritsAlpha ( false );
}
Expand Down

0 comments on commit 5aa25a1

Please sign in to comment.