瀏覽代碼

Follow up to r14392, forgot to remove the old snprintf.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14393 54d463be-8e91-2dee-dedb-b68131a5f0ec
L0ne_W0lf 14 年之前
父節點
當前提交
a5170e7694
共有 2 個文件被更改,包括 1 次插入1 次删除
  1. 1 0
      Changelog-Trunk.txt
  2. 0 1
      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.
 
 2010/08/21
+	* Rev. 14393 Follow up to r14392, forgot to remove the old snprintf. [L0ne_W0lf]
 	* Rev. 14392 Mob chat now strips "#unique" names off monsters, curtosy of Daegaladh. [L0ne_W0lf]
 2010/08/20
 	* Rev. 14390 Commented out code from r14388, as this breaks NPCs that rely on running global events in duplicates. (IE: WoE scripts) [L0ne_W0lf]

+ 0 - 1
src/map/mob.c

@@ -2995,7 +2995,6 @@ int mobskill_use(struct mob_data *md, unsigned int tick, int event)
  			snprintf(name, sizeof name,"%s", md->name);
  			strtok(name, "#"); // discard extra name identifier if present [Daegaladh]
  			snprintf(temp, sizeof temp,"%s : %s", name, mc->msg);
-			snprintf(temp, sizeof temp,"%s : %s", md->name, mc->msg);
 			clif_messagecolor(&md->bl, mc->color, temp);
 		}