mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Don't assert if *cls* is NULL
This commit is contained in:
parent
0c18e0e26c
commit
238e94b4d5
1 changed files with 0 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue