mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-23 13:24:13 +00:00
engine: server: better error message for missing spawn functions
This commit is contained in:
parent
dd2c369df3
commit
b59b7c1a8d
@ -1209,7 +1209,7 @@ static edict_t* SV_AllocPrivateData( edict_t *ent, string_t className )
|
|||||||
|
|
||||||
if( !SpawnEdict )
|
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
|
// free entity immediately
|
||||||
SV_FreeEdict( ent );
|
SV_FreeEdict( ent );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user