mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-01-27 14:08:00 +03:00
Disconnected players func_tank fix (#400)
for more info visit this thread : https://forums.alliedmods.net/showthread.php?t=317763
This commit is contained in:
parent
80e8730187
commit
2fcba6f35a
@ -1496,6 +1496,14 @@ void CBasePlayer::RemoveAllItems(BOOL removeSuit)
|
||||
bool bKillProgBar = false;
|
||||
int i;
|
||||
|
||||
#ifdef REGAMEDLL_FIXES
|
||||
if (m_pTank)
|
||||
{
|
||||
m_pTank->Use(this, this, USE_OFF, 0);
|
||||
m_pTank = nullptr;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (m_bHasDefuser)
|
||||
{
|
||||
RemoveDefuser();
|
||||
|
Loading…
x
Reference in New Issue
Block a user