diff --git a/engine/server/sv_client.c b/engine/server/sv_client.c index e336f0f3..987fc8e2 100644 --- a/engine/server/sv_client.c +++ b/engine/server/sv_client.c @@ -2740,7 +2740,7 @@ static qboolean SV_EntCreate_f( sv_client_t *cl ) classname = ALLOC_STRING( Cmd_Argv( 1 ) ); - ent = SV_AllocPrivateData( 0, classname ); + ent = SV_CreateNamedEntity( 0, classname ); // Xash3D extension if( !ent && svgame.physFuncs.SV_CreateEntity )