Browse Source

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

pull/2/head
SNMetamorph 2 years ago committed by Alibek Omarov
parent
commit
32372654c2
  1. 2
      engine/server/sv_client.c

2
engine/server/sv_client.c

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

Loading…
Cancel
Save