Parcourir la source

Fixed one forgotten mob spawning function call causing mobs to duplicate when respawning (followup to r12350) (bugreport:1173)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12353 54d463be-8e91-2dee-dedb-b68131a5f0ec
ultramage il y a 17 ans
Parent
commit
4e683bc79e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/map/map.c

+ 1 - 1
src/map/map.c

@@ -2004,7 +2004,7 @@ void map_spawnmobs(int m)
 		if(map[m].moblist[i]!=NULL)
 		{
 			k+=map[m].moblist[i]->num;
-			npc_parse_mob2(map[m].moblist[i],i);
+			npc_parse_mob2(map[m].moblist[i],true);
 		}
 
 	if (battle_config.etc_log && k > 0)