mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-01-27 14:08:00 +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)
|
||||
{
|
||||
#ifndef REGAMEDLL_FIXES
|
||||
if (m_pPlayer)
|
||||
return;
|
||||
|
||||
@ -350,6 +351,7 @@ void CC4::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, f
|
||||
pPlayer->m_pentCurBombTarget = m_pentOldCurBombTarget;
|
||||
SUB_Remove();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
float CC4::GetMaxSpeed()
|
||||
|
Loading…
x
Reference in New Issue
Block a user