summaryrefslogtreecommitdiff
path: root/src/emap/npc.c
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2020-07-13 23:11:15 +0000
committergumi <git@gumi.ca>2020-07-13 23:11:15 +0000
commitb483a1380df50dafb647b0250d2406657a71aa09 (patch)
treeeb12773b5be6f0090757f9ee6d3f6be09414d2ab /src/emap/npc.c
parent858de334b4e9dd4d81b7f78aeadd195ecf9ca342 (diff)
downloadplugin-b483a1380df50dafb647b0250d2406657a71aa09.tar.gz
plugin-b483a1380df50dafb647b0250d2406657a71aa09.tar.bz2
plugin-b483a1380df50dafb647b0250d2406657a71aa09.tar.xz
plugin-b483a1380df50dafb647b0250d2406657a71aa09.zip
fix the hooks for npc->unload and mob->spawn_dataset, remove the unused hook for status->change_end_
Diffstat (limited to 'src/emap/npc.c')
-rw-r--r--src/emap/npc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emap/npc.c b/src/emap/npc.c
index 5b6d66a..cf7d72c 100644
--- a/src/emap/npc.c
+++ b/src/emap/npc.c
@@ -272,7 +272,8 @@ int enpc_get_var_num(const TBL_NPC *const npc,
}
int enpc_unload_pre(struct npc_data** ndPtr,
- bool *singlePtr __attribute__ ((unused)))
+ bool *singlePtr __attribute__ ((unused)),
+ bool *unloadMobsPtr __attribute__ ((unused)))
{
struct npc_data *nd = *ndPtr;
nullpo_ret(nd);