diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-07-26 23:07:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-07-27 01:40:12 +0300 |
commit | 6d424ee1d72de60873187e1046d4a3be36fc9bab (patch) | |
tree | b93513f729941caa37ecd4bac3e698f5938ade8e /src/map/status.h | |
parent | 38070a46cc00379fce10ee3983f892a2df33dbe6 (diff) | |
download | hercules-6d424ee1d72de60873187e1046d4a3be36fc9bab.tar.gz hercules-6d424ee1d72de60873187e1046d4a3be36fc9bab.tar.bz2 hercules-6d424ee1d72de60873187e1046d4a3be36fc9bab.tar.xz hercules-6d424ee1d72de60873187e1046d4a3be36fc9bab.zip |
Move getting val_flag based on type from status_change_start into separate function.
Diffstat (limited to 'src/map/status.h')
-rw-r--r-- | src/map/status.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/status.h b/src/map/status.h index 161f66f43..2ab665495 100644 --- a/src/map/status.h +++ b/src/map/status.h @@ -2336,6 +2336,7 @@ struct status_interface { bool (*end_sc_before_start) (struct block_list *bl, struct status_data *st, struct status_change* sc, enum sc_type type, int undead_flag, int val1, int val2, int val3, int val4); void (*change_start_stop_action) (struct block_list *bl, enum sc_type type); int (*change_start_set_option) (struct block_list *bl, struct status_change* sc, enum sc_type type, int val1, int val2, int val3, int val4); + int (*get_val_flag) (enum sc_type type); int (*kaahi_heal_timer) (int tid, int64 tick, int id, intptr_t data); int (*change_timer) (int tid, int64 tick, int id, intptr_t data); int (*change_timer_sub) (struct block_list* bl, va_list ap); |