2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-29 13:30:34 +01:00

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

View File

@ -2740,7 +2740,7 @@ static qboolean SV_EntCreate_f( sv_client_t *cl )
classname = ALLOC_STRING( Cmd_Argv( 1 ) ); classname = ALLOC_STRING( Cmd_Argv( 1 ) );
ent = SV_AllocPrivateData( 0, classname ); ent = SV_CreateNamedEntity( 0, classname );
// Xash3D extension // Xash3D extension
if( !ent && svgame.physFuncs.SV_CreateEntity ) if( !ent && svgame.physFuncs.SV_CreateEntity )