- Added resetting the total count of labels to 0 when unloading an npc clears the labels.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9988 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
9692154429
commit
9e9628afca
@ -1567,6 +1567,7 @@ int npc_unload(struct npc_data *nd)
|
|||||||
if (nd->u.scr.label_list) {
|
if (nd->u.scr.label_list) {
|
||||||
aFree(nd->u.scr.label_list);
|
aFree(nd->u.scr.label_list);
|
||||||
nd->u.scr.label_list = NULL;
|
nd->u.scr.label_list = NULL;
|
||||||
|
nd->u.scr.label_list_num = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user