int8 enums fixed

This commit is contained in:
withmorten committed 2020-12-07 01:30:38 +01:00
1 parent 16ed00aede
commit 912e71be53
6 files changed
+21 -21

No files matched your search

+2 -2
View File
@@ -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;