瀏覽代碼

Fix a mistake in npctalk

Atemo 9 年之前
父節點
當前提交
6f34c14c0e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/map/script.c

+ 1 - 1
src/map/script.c

@@ -14258,7 +14258,7 @@ BUILDIN_FUNC(npctalk)
 	if (nd) {
 		char message[256];
 		safesnprintf(message, sizeof(message), "%s", str);
-		clif_disp_overhead(&nd->bl, str);
+		clif_disp_overhead(&nd->bl, message);
 	}
 	return SCRIPT_CMD_SUCCESS;
 }