diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-03-14 22:59:13 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-03-14 22:59:13 +0000 |
commit | 9bcdef5d8efeb024e6d68b239ad471976e2204bf (patch) | |
tree | a0bfef114c6770643fb3f43c960f462692d2caf6 /src/map/npc.c | |
parent | 541245eee8d3cba682ce68a02f4bda1fac8d2289 (diff) | |
download | hercules-9bcdef5d8efeb024e6d68b239ad471976e2204bf.tar.gz hercules-9bcdef5d8efeb024e6d68b239ad471976e2204bf.tar.bz2 hercules-9bcdef5d8efeb024e6d68b239ad471976e2204bf.tar.xz hercules-9bcdef5d8efeb024e6d68b239ad471976e2204bf.zip |
Fixed spawned mob count not being counted properly, causing yet more respawn problems.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12364 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-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 4b6231cf0..68b979a28 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -2186,6 +2186,7 @@ void npc_parse_mob2(struct spawn_data* mob) { struct mob_data* md = mob_spawn_dataset(mob); md->spawn = mob; + md->spawn->active++; mob_spawn(md); } } |