mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-25 19:30:08 +01:00
engine: server: sv_client: fixed working ent_create command on XashXT/PrimeXT
This commit is contained in:
parent
17d0b19f9e
commit
32372654c2
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user