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.c | |
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.c')
-rw-r--r-- | src/map/clif.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 9f56e0136..e76e9f852 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -890,7 +890,7 @@ static void clif_clearflooritem(struct flooritem_data *fitem, int fd) /// 2 = logged out /// 3 = teleport /// 4 = trickdead -static void clif_clearunit_single(int id, clr_type type, int fd) +static void clif_clearunit_single(int id, enum clr_type type, int fd) { WFIFOHEAD(fd, packet_len(0x80)); WFIFOW(fd,0) = 0x80; @@ -907,7 +907,7 @@ static void clif_clearunit_single(int id, clr_type type, int fd) /// 2 = logged out /// 3 = teleport /// 4 = trickdead -static void clif_clearunit_area(struct block_list *bl, clr_type type) +static void clif_clearunit_area(struct block_list *bl, enum clr_type type) { unsigned char buf[8]; @@ -936,12 +936,12 @@ static void clif_clearunit_area(struct block_list *bl, clr_type type) static int clif_clearunit_delayed_sub(int tid, int64 tick, int id, intptr_t data) { struct block_list *bl = (struct block_list *)data; - clif->clearunit_area(bl, (clr_type) id); + clif->clearunit_area(bl, (enum clr_type) id); ers_free(clif->delay_clearunit_ers,bl); return 0; } -static void clif_clearunit_delayed(struct block_list *bl, clr_type type, int64 tick) +static void clif_clearunit_delayed(struct block_list *bl, enum clr_type type, int64 tick) { struct block_list *tbl; |