mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-06-27 04:59:30 +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;
|
bool bKillProgBar = false;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
#ifdef REGAMEDLL_FIXES
|
||||||
|
if (m_pTank)
|
||||||
|
{
|
||||||
|
m_pTank->Use(this, this, USE_OFF, 0);
|
||||||
|
m_pTank = nullptr;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (m_bHasDefuser)
|
if (m_bHasDefuser)
|
||||||
{
|
{
|
||||||
RemoveDefuser();
|
RemoveDefuser();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user