From 1c20b037d427b45fb9d9ed2e96d979002cbd79fc Mon Sep 17 00:00:00 2001 From: Elinsrc Date: Mon, 3 Apr 2023 18:42:50 +0500 Subject: [PATCH] Revert "fix player score" This reverts commit 8471f9d23c1311f98bb39cb9f4ce109d609eb6d8. --- dlls/multiplay_gamerules.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/dlls/multiplay_gamerules.cpp b/dlls/multiplay_gamerules.cpp index 33fb4f81..d73b4cf3 100644 --- a/dlls/multiplay_gamerules.cpp +++ b/dlls/multiplay_gamerules.cpp @@ -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(); } } }