Skip to content

Commit 30eb083

Browse files
committed
Fixed #9081 (Invalid image path cause crash when attaching it to image with disabled propagation)
1 parent 920c3e9 commit 30eb083

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
@@ -4739,7 +4739,7 @@ CClientGUIElement* CStaticFunctionDefinitions::GUICreateStaticImage ( CLuaMain&
47394739

47404740
if ( pParent && !pParent->IsCallPropagationEnabled () )
47414741
{
4742-
pGUIElement->GetCGUIElement ()->SetInheritsAlpha ( false );
4742+
pElement->SetInheritsAlpha ( false );
47434743
}
47444744

47454745
return pGUIElement;

0 commit comments

Comments
 (0)