mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-02-10 22:08:47 +03:00
Remove useless code from CC4::Use (#209)
This commit is contained in:
parent
022115cc35
commit
f69afc21a7
@ -318,6 +318,7 @@ void CC4::KeyValue(KeyValueData *pkvd)
|
|||||||
|
|
||||||
void CC4::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value)
|
void CC4::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value)
|
||||||
{
|
{
|
||||||
|
#ifndef REGAMEDLL_FIXES
|
||||||
if (m_pPlayer)
|
if (m_pPlayer)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@ -350,6 +351,7 @@ void CC4::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, f
|
|||||||
pPlayer->m_pentCurBombTarget = m_pentOldCurBombTarget;
|
pPlayer->m_pentCurBombTarget = m_pentOldCurBombTarget;
|
||||||
SUB_Remove();
|
SUB_Remove();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
float CC4::GetMaxSpeed()
|
float CC4::GetMaxSpeed()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user