summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index 3a3ae472d..77ee8d486 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -1889,7 +1889,7 @@ int npc_unload(struct npc_data* nd, bool single) {
}
}
if( nd->u.scr.guild_id )
- guild_flag_remove(nd);
+ guild->flag_remove(nd);
}
script_stop_sleeptimers(nd->bl.id);
@@ -3824,7 +3824,7 @@ int npc_reload(void) {
struct block_list* bl;
/* clear guild flag cache */
- guild_flags_clear();
+ guild->flags_clear();
npc_clear_pathlist();