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/pc.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/pc.c')
-rw-r--r-- | src/map/pc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 0a2508f29..d9e297e84 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -5707,7 +5707,7 @@ static int pc_steal_coin(struct map_session_data *sd, struct block_list *target, * 1 - Invalid map index. * 2 - Map not in this map-server, and failed to locate alternate map-server. *------------------------------------------*/ -static int pc_setpos(struct map_session_data *sd, unsigned short map_index, int x, int y, clr_type clrtype) +static int pc_setpos(struct map_session_data *sd, unsigned short map_index, int x, int y, enum clr_type clrtype) { int16 m; @@ -5947,7 +5947,7 @@ static int pc_setpos(struct map_session_data *sd, unsigned short map_index, int * 0 = fail or FIXME success (from pc->setpos) * x(1|2) = fail *------------------------------------------*/ -static int pc_randomwarp(struct map_session_data *sd, clr_type type) +static int pc_randomwarp(struct map_session_data *sd, enum clr_type type) { int x,y,i=0; int16 m; @@ -7946,7 +7946,7 @@ static int pc_skillheal2_bonus(struct map_session_data *sd, uint16 skill_id) return bonus; } -static void pc_respawn(struct map_session_data *sd, clr_type clrtype) +static void pc_respawn(struct map_session_data *sd, enum clr_type clrtype) { if( !pc_isdead(sd) ) return; // not applicable |