summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/entities/Ped.h18
-rw-r--r--src/modelinfo/PedModelInfo.h3
2 files changed, 2 insertions, 19 deletions
diff --git a/src/entities/Ped.h b/src/entities/Ped.h
index 4a616e22..b7db77dc 100644
--- a/src/entities/Ped.h
+++ b/src/entities/Ped.h
@@ -81,22 +81,6 @@ enum {
PEDMOVE_SPRINT,
};
-enum PedNode {
- PED_WAIST = 0,
- PED_TORSO, // Smid on PS2/PC, Storso on mobile/xbox. We follow mobile/xbox (makes kicking on ground look better)
- PED_HEAD,
- PED_UPPERARML,
- PED_UPPERARMR,
- PED_HANDL,
- PED_HANDR,
- PED_UPPERLEGL,
- PED_UPPERLEGR,
- PED_FOOTL,
- PED_FOOTR,
- PED_NODE_11,
- PED_NODE_MAX
-};
-
class CVehicle;
class CPed : public CPhysical
@@ -180,7 +164,7 @@ public:
uint8 stuff10[60];
int32 m_pEventEntity;
int32 m_fAngleToEvent;
- AnimBlendFrameData *m_pFrames[PED_FRAME_MAX];
+ AnimBlendFrameData *m_pFrames[PED_NODE_MAX];
int32 m_animGroup;
int32 m_pVehicleAnim;
CVector2D m_vecAnimMoveDelta;
diff --git a/src/modelinfo/PedModelInfo.h b/src/modelinfo/PedModelInfo.h
index e917b6b2..95d49090 100644
--- a/src/modelinfo/PedModelInfo.h
+++ b/src/modelinfo/PedModelInfo.h
@@ -15,8 +15,7 @@ enum PedNode {
PED_FOOTL,
PED_FOOTR,
PED_LOWERLEGR,
- // This is not valid apparently
- PED_LOWERLEGL,
+ PED_NODE_MAX// Not valid: PED_LOWERLEGL
};
class CPedModelInfo : public CClumpModelInfo