mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-08 21:14:14 +00:00
Add relink command to ent_fire
This commit is contained in:
parent
12c094abb5
commit
090dea2df1
@ -444,6 +444,7 @@ void Ent_HelpFire( edict_t *player )
|
||||
Ent_ClientPrintf( player, " movehere: place entity in player fov.\n" );
|
||||
Ent_ClientPrintf( player, " drop2floor: place entity to nearest floor surface\n" );
|
||||
Ent_ClientPrintf( player, " move: move entity up/forward\n" );
|
||||
Ent_ClientPrintf( player, " relink: relink entity to world to fix collisions\n" );
|
||||
Ent_ClientPrintf( player, "Flags:\n" );
|
||||
Ent_ClientPrintf( player, " (Set/clear specified flag bit, arg is bit number)\n" );
|
||||
Ent_ClientPrintf( player, " setflag\n" );
|
||||
@ -661,6 +662,10 @@ void Ent_Fire_f( edict_t *player )
|
||||
else
|
||||
ent->v.aiment = player;
|
||||
}
|
||||
if( !stricmp( cmd, "relink" ) )
|
||||
{
|
||||
UTIL_SetOrigin( &ent->v, ent->v.origin );
|
||||
}
|
||||
if( !stricmp( cmd, "hullmin" ) )
|
||||
{
|
||||
if( CMD_ARGC() != 6 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user