Skip to content

Commit

Permalink
Merge pull request #5 from WPMGPRoSToTeMa/patch-1
Browse files Browse the repository at this point in the history
Fixed bug with lastinv command.
  • Loading branch information
LevShisterov committed Jul 16, 2017
2 parents ef7cecf + 55a8503 commit 77d6c82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlls/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3854,7 +3854,7 @@ int CBasePlayer::RemovePlayerItem( CBasePlayerItem *pItem )
pev->viewmodel = 0;
pev->weaponmodel = 0;
}
else if ( m_pLastItem == pItem )
if ( m_pLastItem == pItem )
m_pLastItem = NULL;

pItem->m_pPlayer = NULL;
Expand Down

0 comments on commit 77d6c82

Please sign in to comment.