engine: server: better error message for missing spawn functions
This commit is contained in:
parent
dd2c369df3
commit
b59b7c1a8d
1 changed files with 1 additions and 1 deletions
|
@ -1209,7 +1209,7 @@ static edict_t* SV_AllocPrivateData( edict_t *ent, string_t className )
|
|||
|
||||
if( !SpawnEdict )
|
||||
{
|
||||
Con_Printf( S_ERROR "No spawn function for %s\n", STRING( className ));
|
||||
Con_Printf( S_ERROR "No spawn function for \"%s\"\n", pszClassName );
|
||||
|
||||
// free entity immediately
|
||||
SV_FreeEdict( ent );
|
||||
|
|
Loading…
Add table
Reference in a new issue