diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-11-28 22:06:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-12-12 21:18:07 +0300 |
commit | 63f57fa5c3944ba7759f84361dd42391709f21c8 (patch) | |
tree | 87c2f188c9ebd93c7e47e1f3f15c032309eae7dd /src/map/clif.h | |
parent | 8303cb08c04564feb16993be4491c4904bd5b071 (diff) | |
download | hercules-63f57fa5c3944ba7759f84361dd42391709f21c8.tar.gz hercules-63f57fa5c3944ba7759f84361dd42391709f21c8.tar.bz2 hercules-63f57fa5c3944ba7759f84361dd42391709f21c8.tar.xz hercules-63f57fa5c3944ba7759f84361dd42391709f21c8.zip |
Remove typedef from clr_type.
Diffstat (limited to 'src/map/clif.h')
-rw-r--r-- | src/map/clif.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/map/clif.h b/src/map/clif.h index be127a54f..446abe8e3 100644 --- a/src/map/clif.h +++ b/src/map/clif.h @@ -237,13 +237,13 @@ typedef enum emotion_type { E_MAX } emotion_type; -typedef enum clr_type { +enum clr_type { CLR_OUTSIGHT = 0, CLR_DEAD, CLR_RESPAWN, CLR_TELEPORT, CLR_TRICKDEAD, -} clr_type; +}; enum map_property { // clif_map_property MAPPROPERTY_NOTHING = 0, @@ -756,9 +756,9 @@ struct clif_interface { void (*package_announce) (struct map_session_data *sd, int nameid, int containerid); void (*item_drop_announce) (struct map_session_data *sd, int nameid, char *monsterName); /* unit-related */ - void (*clearunit_single) (int id, clr_type type, int fd); - void (*clearunit_area) (struct block_list* bl, clr_type type); - void (*clearunit_delayed) (struct block_list* bl, clr_type type, int64 tick); + void (*clearunit_single) (int id, enum clr_type type, int fd); + void (*clearunit_area) (struct block_list* bl, enum clr_type type); + void (*clearunit_delayed) (struct block_list* bl, enum clr_type type, int64 tick); void (*walkok) (struct map_session_data *sd); void (*move) (struct unit_data *ud); void (*move2) (struct block_list *bl, struct view_data *vd, struct unit_data *ud); |