summaryrefslogtreecommitdiffstats
path: root/src/peds/Ped.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/peds/Ped.h')
-rw-r--r--src/peds/Ped.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/peds/Ped.h b/src/peds/Ped.h
index f4caafd8..46c6c82d 100644
--- a/src/peds/Ped.h
+++ b/src/peds/Ped.h
@@ -567,6 +567,9 @@ public:
bool CanSeeEntity(CEntity*, float);
void RestorePreviousObjective(void);
void SetIdle(void);
+#ifdef _MSC_VER
+ __declspec(noinline) // workaround for a compiler bug, hooray MS :P
+#endif
void SetObjective(eObjective, void*);
void SetObjective(eObjective);
void SetObjective(eObjective, int16, int16);
@@ -885,15 +888,6 @@ public:
#endif
};
-class cPedParams
-{
-public:
- bool m_bDistanceCalculated;
- char gap_1[3];
- float m_fDistance;
- CPed *m_pPed;
-};
-
void FinishFuckUCB(CAnimBlendAssociation *assoc, void *arg);
#ifndef PED_SKIN