mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-01-27 14:08:00 +03:00
fix c4 bug (#182)
This commit is contained in:
parent
462dc9986d
commit
27f0563936
@ -325,7 +325,7 @@ void CC4::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, f
|
||||
|
||||
EMIT_SOUND(edict(), CHAN_WEAPON, "weapons/c4_plant.wav", VOL_NORM, ATTN_NORM);
|
||||
|
||||
CGrenade::ShootSatchelCharge(m_pPlayer->pev, m_pPlayer->pev->origin, Vector(0, 0, 0));
|
||||
CGrenade::ShootSatchelCharge(pPlayer->pev, pev->origin, Vector(0, 0, 0));
|
||||
|
||||
CGrenade *pC4 = NULL;
|
||||
while ((pC4 = (CGrenade *)UTIL_FindEntityByClassname(pC4, "grenade")))
|
||||
|
Loading…
x
Reference in New Issue
Block a user