Ped, Weapon and fixes

This commit is contained in:
eray orçunus
2020-06-17 21:24:59 +03:00
parent e9d5d42ea9
commit e44704dc82
8 changed files with 329 additions and 238 deletions

View File

@ -5136,6 +5136,9 @@ CAutomobile::ProcessSwingingDoor(int32 component, eDoors door)
if(Damage.GetDoorStatus(door) != DOOR_STATUS_SWINGING)
return;
if (m_aCarNodes[component] == nil)
return;
CMatrix mat(RwFrameGetMatrix(m_aCarNodes[component]));
CVector pos = mat.GetPosition();
float axes[3] = { 0.0f, 0.0f, 0.0f };