diff --git a/dlls/enttools.cpp b/dlls/enttools.cpp index fd86f3e0..46f562a2 100644 --- a/dlls/enttools.cpp +++ b/dlls/enttools.cpp @@ -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 )