mirror of
https://github.com/UberGames/rpgxEF.git
synced 2024-11-10 15:21:34 +00:00
...
This commit is contained in:
parent
4fe74b8fdf
commit
e95593b350
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue