mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-20 19:29:22 +00:00
implemented skinned peds, no cutscene hands yet
This commit is contained in:
parent
6467e2003a
commit
f03b4eec4c
49 changed files with 1869 additions and 301 deletions
|
@ -566,8 +566,7 @@ CWeapon::FireInstantHit(CEntity *shooter, CVector *fireSource)
|
|||
target.y = 0.0f;
|
||||
target.z = 0.0f;
|
||||
|
||||
for (RwFrame *i = shooterPed->GetNodeFrame(PED_HANDR); i; i = RwFrameGetParent(i))
|
||||
RwV3dTransformPoints(target, target, 1, RwFrameGetMatrix(i));
|
||||
shooterPed->TransformToNode(target, PED_HANDR);
|
||||
|
||||
ProcessLineOfSight(*fireSource, target, point, victim, m_eWeaponType, shooter, true, true, true, true, true, true, false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue