File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Client/mods/deathmatch/logic/luadefs Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -758,7 +758,7 @@ int CLuaGUIDefs::GUICreateStaticImage ( lua_State* luaVM )
758
758
return 1 ;
759
759
}
760
760
else
761
- argStream.SetCustomError ( strPath , " Bad file path" );
761
+ argStream.SetCustomError ( path , " Bad file path" );
762
762
}
763
763
}
764
764
if ( argStream.HasErrors () )
@@ -1112,10 +1112,10 @@ int CLuaGUIDefs::GUIStaticImageLoadImage ( lua_State* luaVM )
1112
1112
return 1 ;
1113
1113
}
1114
1114
else
1115
- argStream.SetCustomError ( strPath , " Error loading image" );
1115
+ argStream.SetCustomError ( filename , " Error loading image" );
1116
1116
}
1117
1117
else
1118
- argStream.SetCustomError ( strPath , " Bad file path" );
1118
+ argStream.SetCustomError ( filename , " Bad file path" );
1119
1119
}
1120
1120
}
1121
1121
if ( argStream.HasErrors () )
You can’t perform that action at this time.
0 commit comments