Skip to content

Commit c72c0d6

Browse files
authored
Merge pull request #270 from Vladislav4KZ/corpsestay-fix
fix: corpses disappearing outside the player's PVS
2 parents 3fd1e5d + 2b6b1cf commit c72c0d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cl_dll/events/ev_cs16.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ void CreateCorpse(Vector vOrigin, Vector vAngles, const char *pModel, float flAn
735735

736736
if( model )
737737
{
738-
model->flags = (FTENT_CLIENTCUSTOM|FTENT_COLLIDEALL|FTENT_SPRANIMATE|FTENT_FADEOUT|FTENT_COLLIDEWORLD|FTENT_BODYTRACE);
738+
model->flags = (FTENT_CLIENTCUSTOM|FTENT_PERSIST|FTENT_SPRANIMATE|FTENT_FADEOUT|FTENT_COLLIDEWORLD|FTENT_BODYTRACE);
739739
model->frameMax = 255.0f;
740740
model->entity.curstate.framerate = 1.0f;
741741
model->entity.curstate.animtime = flAnimTime;

0 commit comments

Comments
 (0)