This commit is contained in:
Walter Julius Hennecke 2013-05-17 00:29:07 +02:00
parent 4fe74b8fdf
commit e95593b350

View file

@ -853,7 +853,7 @@ qboolean SetClass( gentity_t *ent, char *s, char *teamName, qboolean SaveToCvar
// see what change is requested
//
if(s == NULL) {
if(s == NULL || ent == NULL) {
return qfalse;
}