Ped, Weapon and fixes

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

No files matched your search

+3
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 };