summaryrefslogtreecommitdiff
path: root/src/map/pc.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-12-16 19:12:23 +0100
committerGitHub <noreply@github.com>2018-12-16 19:12:23 +0100
commit4af25db759018928dec764d0a6ceab17fbc2742c (patch)
tree4386559215a6e58525239447bb7dba873f91721c /src/map/pc.h
parentc502d95b892402f416a0c2b6de9f95dbc34d9734 (diff)
parent63b62712347f5995a2ff01e67b0b4f86838857d5 (diff)
downloadhercules-4af25db759018928dec764d0a6ceab17fbc2742c.tar.gz
hercules-4af25db759018928dec764d0a6ceab17fbc2742c.tar.bz2
hercules-4af25db759018928dec764d0a6ceab17fbc2742c.tar.xz
hercules-4af25db759018928dec764d0a6ceab17fbc2742c.zip
Merge pull request #2327 from HerculesWS/change_shortgroup_tobool_in_s_add_drop
Change short group to bool is_group in s_add_drop
Diffstat (limited to 'src/map/pc.h')
-rw-r--r--src/map/pc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pc.h b/src/map/pc.h
index bc2fd5a62..90e59edb2 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -151,8 +151,8 @@ struct s_addeffectonskill {
unsigned char target;
};
struct s_add_drop {
+ bool is_group;
int id;
- short group;
int race, rate;
};
struct s_autobonus {
@@ -1124,7 +1124,7 @@ END_ZEROED_BLOCK; /* End */
int (*bonus_autospell_onskill) (struct s_autospell *spell, int max, short src_skill, short id, short lv, short rate, int card_id);
int (*bonus_addeff) (struct s_addeffect* effect, int max, enum sc_type id, int16 rate, int16 arrow_rate, uint8 flag, uint16 duration);
int (*bonus_addeff_onskill) (struct s_addeffectonskill* effect, int max, enum sc_type id, short rate, short skill_id, unsigned char target);
- int (*bonus_item_drop) (struct s_add_drop *drop, const short max, short id, short group, int race, int rate);
+ int (*bonus_item_drop) (struct s_add_drop *drop, const short max, int id, bool is_group, int race, int rate);
void (*calcexp) (struct map_session_data *sd, uint64 *base_exp, uint64 *job_exp, struct block_list *src);
int (*respawn_timer) (int tid, int64 tick, int id, intptr_t data);
int (*jobchange_killclone) (struct block_list *bl, va_list ap);