sdkhooks: assign velocities in CTakeDamageInfo(Hack) (#1322)
* Attempt to correct SDKHooks_TakeDamage * Define function on both csgo and non-csgo * Remove unneeded macros * Fix velocity copy on CTakeDamageInfoHack init
This commit is contained in:
parent
6f21138489
commit
031f80f6e1
@ -58,8 +58,8 @@ CTakeDamageInfoHack::CTakeDamageInfoHack( CBaseEntity *pInflictor, CBaseEntity *
|
||||
m_bitsDamageType = bitsDamageType;
|
||||
|
||||
m_flMaxDamage = flDamage;
|
||||
m_vecDamageForce = vec3_origin;
|
||||
m_vecDamagePosition = vec3_origin;
|
||||
m_vecDamageForce = vecDamageForce;
|
||||
m_vecDamagePosition = vecDamagePosition;
|
||||
m_vecReportedPosition = vec3_origin;
|
||||
m_iAmmoType = -1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user