engine: server: sv_client: fixed working ent_create command on XashXT/PrimeXT

This commit is contained in:
SNMetamorph 2022-11-11 07:14:22 +04:00 committed by Alibek Omarov
parent 17d0b19f9e
commit 32372654c2
1 changed files with 1 additions and 1 deletions

View File

@ -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 )