mirror of
https://github.com/UberGames/rpgxEF.git
synced 2025-02-22 12:01:18 +00:00
fix for SetClass
This commit is contained in:
parent
2a16df527b
commit
4fe74b8fdf
1 changed files with 5 additions and 0 deletions
|
@ -852,6 +852,11 @@ qboolean SetClass( gentity_t *ent, char *s, char *teamName, qboolean SaveToCvar
|
|||
//
|
||||
// see what change is requested
|
||||
//
|
||||
|
||||
if(s == NULL) {
|
||||
return qfalse;
|
||||
}
|
||||
|
||||
client = ent->client;
|
||||
|
||||
sess = &client->sess;
|
||||
|
|
Loading…
Reference in a new issue