From 48ea9be889ecc77ae0ee7e952f1970771a92e5c9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 6 Dec 2018 19:34:45 +0300 Subject: Fix style in enums. --- src/enums/being/attacktype.h | 4 ++-- src/enums/being/beingaction.h | 18 +++++++++--------- src/enums/being/targetcursortype.h | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) (limited to 'src/enums/being') diff --git a/src/enums/being/attacktype.h b/src/enums/being/attacktype.h index f09f6b3e0..d6107655c 100644 --- a/src/enums/being/attacktype.h +++ b/src/enums/being/attacktype.h @@ -40,8 +40,8 @@ enumStart(AttackType) CRITICAL = 10, FLEE = 11, TOUCH_SKILL = 12, - MISS = 0xffff, // pseudo value for miss attacks - SKILLMISS // pseudo value for skill miss attacks + MISS = 0xffff, // pseudo value for miss attacks + SKILLMISS = 0x10000 // pseudo value for skill miss attacks } enumEnd(AttackType); diff --git a/src/enums/being/beingaction.h b/src/enums/being/beingaction.h index 7769bc180..0b7c2d832 100644 --- a/src/enums/being/beingaction.h +++ b/src/enums/being/beingaction.h @@ -27,15 +27,15 @@ enumStart(BeingAction) { - STAND = 0, - MOVE = 1, - ATTACK = 2, - CAST = 3, - SIT = 4, - DEAD = 5, - HURT = 6, - SPAWN = 7, - PRESTAND + STAND = 0, + MOVE = 1, + ATTACK = 2, + CAST = 3, + SIT = 4, + DEAD = 5, + HURT = 6, + SPAWN = 7, + PRESTAND = 8 } enumEnd(BeingAction); diff --git a/src/enums/being/targetcursortype.h b/src/enums/being/targetcursortype.h index 890a6ad9e..22dbfeda2 100644 --- a/src/enums/being/targetcursortype.h +++ b/src/enums/being/targetcursortype.h @@ -27,7 +27,7 @@ enumStart(TargetCursorType) { NONE = -1, - NORMAL = 0, + NORMAL, IN_RANGE, NUM_TCT } -- cgit v1.2.3-70-g09d2