Revert "fix player score"

This reverts commit 8471f9d23c.
This commit is contained in:
Elinsrc 2023-04-03 18:42:50 +05:00
parent fc76bfe035
commit 1c20b037d4
1 changed files with 0 additions and 13 deletions

View File

@ -519,19 +519,6 @@ void CHalfLifeMultiplay::ClientDisconnected( edict_t *pClient )
}
pPlayer->RemoveAllItems( TRUE );// destroy all of the players weapons and items
//fix a bug in the information about the player's score when he left the server, so that his score would not be transferred to another player(seems to work)
pPlayer->pev->frags = 0;
pPlayer->m_iDeaths = 0;
// update the scores
MESSAGE_BEGIN( MSG_ALL, gmsgScoreInfo );
WRITE_BYTE( ENTINDEX(pPlayer->edict()) );
WRITE_SHORT( (int)pPlayer->pev->frags );
WRITE_SHORT( pPlayer->m_iDeaths );
WRITE_SHORT( 0 );
WRITE_SHORT( 0 );
MESSAGE_END();
}
}
}