Browse Source

sv_frame: fakeclients must be kicked on changelevel(GoldSrc compatibity) (port from Old Engine #b5b493)

pull/2/head
Alibek Omarov 6 years ago
parent
commit
cd30812607
  1. 8
      engine/server/sv_frame.c

8
engine/server/sv_frame.c

@ -998,9 +998,15 @@ void SV_InactivateClients( void )
if( !cl->state || !cl->edict ) if( !cl->state || !cl->edict )
continue; continue;
if( !cl->edict || FBitSet( cl->edict->v.flags, FL_FAKECLIENT )) if( !cl->edict )
continue; continue;
if( FBitSet( cl->edict->v.flags, FL_FAKECLIENT ))
{
SV_DropClient( cl, false );
continue;
}
if( cl->state > cs_connected ) if( cl->state > cs_connected )
cl->state = cs_connected; cl->state = cs_connected;

Loading…
Cancel
Save