fix segfault
This commit is contained in:
parent
43b05f81bc
commit
5c389d3f8a
|
|
@ -252,7 +252,7 @@ void InsertModel( const char *name, int skin, int frame, m4x4_t transform, remap
|
|||
Sys_Printf( "Skin %d of %s does not exist, using 0 instead\n", skin, name );
|
||||
}
|
||||
sf = NULL;
|
||||
if(skinfilesize)
|
||||
if(skinfilesize >= 0)
|
||||
{
|
||||
Sys_Printf( "Using skin %d of %s\n", skin, name );
|
||||
int pos;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user