mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-10-16 23:37:00 +03:00
refactor(SwitchTeam): remove redundant code lines for bomb removal
This commit is contained in:
parent
8fa910c4f7
commit
466d1bbb6d
@ -8428,10 +8428,6 @@ void CBasePlayer::__API_HOOK(SwitchTeam)()
|
||||
if (m_bHasC4)
|
||||
{
|
||||
if (NumAliveTerrorist > 0 && CSPlayer()->RemovePlayerItemEx("weapon_c4", true)) {
|
||||
m_bHasC4 = false;
|
||||
pev->body = 0;
|
||||
SetBombIcon(FALSE);
|
||||
SetProgressBarTime(0);
|
||||
CSGameRules()->GiveC4();
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user