mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-27 23:25:41 +03:00
Fix C4 angle. (#207)
This commit is contained in:
parent
acc1dcad6e
commit
7184f4ce39
@ -159,7 +159,12 @@ void CC4::PrimaryAttack()
|
|||||||
CSGameRules()->m_iC4Timer = int(pev->speed);
|
CSGameRules()->m_iC4Timer = int(pev->speed);
|
||||||
}
|
}
|
||||||
|
|
||||||
CGrenade *pBomb = CGrenade::ShootSatchelCharge(m_pPlayer->pev, m_pPlayer->pev->origin, Vector(0, 0, 0));
|
#ifdef REGAMEDLL_FIXES
|
||||||
|
Vector vBombAngles = Vector(0, m_pPlayer->pev->angles[1] + 90.0, 0);
|
||||||
|
#else
|
||||||
|
Vector vBombAngles = Vector(0, 0, 0);
|
||||||
|
#endif
|
||||||
|
CGrenade *pBomb = CGrenade::ShootSatchelCharge(m_pPlayer->pev, m_pPlayer->pev->origin, vBombAngles);
|
||||||
|
|
||||||
MESSAGE_BEGIN(MSG_SPEC, SVC_DIRECTOR);
|
MESSAGE_BEGIN(MSG_SPEC, SVC_DIRECTOR);
|
||||||
WRITE_BYTE(9);
|
WRITE_BYTE(9);
|
||||||
|
Loading…
Reference in New Issue
Block a user