int8 enums fixed

This commit is contained in:
withmorten committed 2020-12-07 00:56:12 +01:00
1 parent 4696e3f9c8
commit afdf8c25a0
6 files changed
+21 -21

No files matched your search

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