diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-11 17:53:22 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-11 17:53:22 +0000 |
commit | c748f53ae3d3a8e14f28d69d96431aba53fad45c (patch) | |
tree | 6b8cb5929a7e5b5d06131ae1860b32682343fc23 /src | |
parent | 7c74f09515f1eca23f007e106f2bb69cd4ae508e (diff) | |
download | hercules-c748f53ae3d3a8e14f28d69d96431aba53fad45c.tar.gz hercules-c748f53ae3d3a8e14f28d69d96431aba53fad45c.tar.bz2 hercules-c748f53ae3d3a8e14f28d69d96431aba53fad45c.tar.xz hercules-c748f53ae3d3a8e14f28d69d96431aba53fad45c.zip |
- Added resetting the total count of labels to 0 when unloading an npc clears the labels.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9988 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/map/npc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/npc.c b/src/map/npc.c index 70fac3c5c..3e8e51942 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -1567,6 +1567,7 @@ int npc_unload(struct npc_data *nd) if (nd->u.scr.label_list) { aFree(nd->u.scr.label_list); nd->u.scr.label_list = NULL; + nd->u.scr.label_list_num = 0; } } } |