Parcourir la source

Fixed new mob's name not sent to the client when the mob is morphed

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8562 54d463be-8e91-2dee-dedb-b68131a5f0ec
toms il y a 18 ans
Parent
commit
4ed81c185a
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 0
      Changelog-Trunk.txt
  2. 1 2
      src/map/mob.c

+ 1 - 0
Changelog-Trunk.txt

@@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
 2006/08/31
+	* Fixed new mob's name not sent to the client when the mob is morphed [Toms]
 	* Added setting attack_walk_delay which specifies whether a character
 	  should (or not) be able to move inmediately after starting a normal attack
 	  (battle.conf). Defaults to 0 since that's what Aegis uses. [Skotlex]

+ 1 - 2
src/map/mob.c

@@ -2304,8 +2304,7 @@ int mob_class_change (struct mob_data *md, int class_)
 	if(md->lootitem == NULL && md->db->status.mode&MD_LOOTER)
 		md->lootitem=(struct item *)aCalloc(LOOTITEM_SIZE,sizeof(struct item));
 
-	if (battle_config.show_mob_hp)
-		clif_charnameack(0, &md->bl);
+	clif_charnameack(0, &md->bl);
 
 	return 0;
 }