Skip to content

Commit 91d495f

Browse files
jusharccw808
authored andcommitted
Fixed #9081 (Invalid image path cause crash when attaching it to image with disabled propagation)
1 parent ca7db40 commit 91d495f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MTA10/mods/deathmatch/logic/CStaticFunctionDefinitions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4691,7 +4691,7 @@ CClientGUIElement* CStaticFunctionDefinitions::GUICreateStaticImage ( CLuaMain&
46914691

46924692
if ( pParent && !pParent->IsCallPropagationEnabled () )
46934693
{
4694-
pGUIElement->GetCGUIElement ()->SetInheritsAlpha ( false );
4694+
pElement->SetInheritsAlpha ( false );
46954695
}
46964696

46974697
return pGUIElement;

0 commit comments

Comments
 (0)