mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00: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…
x
Reference in New Issue
Block a user