Don't assert if *cls* is NULL

This commit is contained in:
OM 2023-05-21 19:59:12 +02:00
parent 0c18e0e26c
commit 238e94b4d5

View file

@ -174,7 +174,6 @@ void UILayout::ProcessCommands
cl = "UI";
cl += newname;
cls = getClass( cl );
assert( cls );
if( !cls )
{
Com_Printf( "Failed to find resource type '%s'\n", token );