mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-04-09 03:24:52 +00:00
Merge e238c4a9b6
into 0565403b15
This commit is contained in:
commit
5bd7780b89
1 changed files with 1 additions and 0 deletions
|
@ -2766,6 +2766,7 @@ void CServerGameClients::ClientDisconnect( edict_t *pEdict )
|
|||
CBasePlayer *player = ( CBasePlayer * )CBaseEntity::Instance( pEdict );
|
||||
if ( player )
|
||||
{
|
||||
player->ForceDropOfCarriedPhysObjects( NULL );
|
||||
if ( !g_fGameOver )
|
||||
{
|
||||
player->SetMaxSpeed( 0.0f );
|
||||
|
|
Loading…
Reference in a new issue