diff options
author | withmorten <morten.with@gmail.com> | 2020-12-07 00:56:12 +0100 |
---|---|---|
committer | withmorten <morten.with@gmail.com> | 2020-12-07 00:56:12 +0100 |
commit | afdf8c25a05f280f524d946384cf74d69aa16e8a (patch) | |
tree | ac8168c89de8d1738d6c6fc488f1f0c492f0592a /src/peds | |
parent | 4696e3f9c88cdf9e025205b0b525dec8c310b671 (diff) |
int8 enums fixed
Diffstat (limited to 'src/peds')
-rw-r--r-- | src/peds/Ped.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peds/Ped.h b/src/peds/Ped.h index 7a9f4a9e..015ad677 100644 --- a/src/peds/Ped.h +++ b/src/peds/Ped.h @@ -43,7 +43,7 @@ enum eFormation FORMATION_FRONT }; -enum FightState : int8 { +enum FightState { FIGHTSTATE_MOVE_FINISHED = -2, FIGHTSTATE_JUST_ATTACKED, FIGHTSTATE_NO_MOVE, @@ -484,7 +484,7 @@ public: CVector m_vecHitLastPos; uint32 m_curFightMove; uint8 m_fightButtonPressure; - FightState m_fightState; + int8 m_fightState; bool m_takeAStepAfterAttack; CFire *m_pFire; CEntity *m_pLookTarget; |