diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-09-12 13:47:01 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-09-12 13:47:01 -0300 |
commit | f17521208fe49fde8864b721b71df63a3a564f37 (patch) | |
tree | b6627e08db4052b456c38709bf45706febaa5bc1 /src/emap/status.c | |
parent | bc88639096a34f465cd9697ac66117740353a856 (diff) | |
download | evol-hercules-f17521208fe49fde8864b721b71df63a3a564f37.tar.gz evol-hercules-f17521208fe49fde8864b721b71df63a3a564f37.tar.bz2 evol-hercules-f17521208fe49fde8864b721b71df63a3a564f37.tar.xz evol-hercules-f17521208fe49fde8864b721b71df63a3a564f37.zip |
Revert "fix the hooks for npc->unload and mob->spawn_dataset, remove the unused hook for status->change_end_"
This reverts commit fc19fdff65ee1561b2b1e30e5bab6906f65d34fa.
Diffstat (limited to 'src/emap/status.c')
-rw-r--r-- | src/emap/status.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/emap/status.c b/src/emap/status.c index 6c598a8..2d2a884 100644 --- a/src/emap/status.c +++ b/src/emap/status.c @@ -230,6 +230,26 @@ int estatus_change_start_post(int retVal, return retVal; } +int estatus_change_end__post(int retVal, + struct block_list* bl __attribute__ ((unused)), + enum sc_type type __attribute__ ((unused)), + int tid __attribute__ ((unused)), + const char* file __attribute__ ((unused)), + int line __attribute__ ((unused))) +{ + if (!retVal) + return retVal; + +/* + switch ((esc_type)type) + { + default: + break; + } +*/ + return retVal; +} + void estatus_calc_pc_recover_hp_pre(struct map_session_data **sdPtr __attribute__ ((unused)), struct status_data **bstatusPtr) { |