summaryrefslogtreecommitdiffstats
path: root/src/peds
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2020-12-07 01:30:38 +0100
committerwithmorten <morten.with@gmail.com>2020-12-07 01:30:38 +0100
commit912e71be537aec6a8b2681c8f0208107a379e216 (patch)
tree542456d2acc1acb2a2f15ae8a92ae51be41444e0 /src/peds
parentuint16 enums fixed (diff)
downloadre3-912e71be537aec6a8b2681c8f0208107a379e216.tar
re3-912e71be537aec6a8b2681c8f0208107a379e216.tar.gz
re3-912e71be537aec6a8b2681c8f0208107a379e216.tar.bz2
re3-912e71be537aec6a8b2681c8f0208107a379e216.tar.lz
re3-912e71be537aec6a8b2681c8f0208107a379e216.tar.xz
re3-912e71be537aec6a8b2681c8f0208107a379e216.tar.zst
re3-912e71be537aec6a8b2681c8f0208107a379e216.zip
Diffstat (limited to 'src/peds')
-rw-r--r--src/peds/Ped.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peds/Ped.h b/src/peds/Ped.h
index 44a4293a..343e9b22 100644
--- a/src/peds/Ped.h
+++ b/src/peds/Ped.h
@@ -52,7 +52,7 @@ enum eFormation
FORMATION_FRONT
};
-enum FightState : int8 {
+enum FightState {
FIGHTSTATE_MOVE_FINISHED = -2,
FIGHTSTATE_JUST_ATTACKED,
FIGHTSTATE_NO_MOVE,
@@ -598,7 +598,7 @@ public:
uint32 m_curFightMove;
uint32 m_lastFightMove;
uint8 m_fightButtonPressure;
- FightState m_fightState;
+ int8 m_fightState;
bool m_takeAStepAfterAttack;
uint8 m_bleedCounter;
CFire *m_pFire;