浏览代码

- Fixed song/dance/encore cells not being placed down when casted on top of a land Protector.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9111 54d463be-8e91-2dee-dedb-b68131a5f0ec
skotlex 18 年之前
父节点
当前提交
b13e3bb15c
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. 2 0
      Changelog-Trunk.txt
  2. 1 1
      src/map/skill.c

+ 2 - 0
Changelog-Trunk.txt

@@ -4,6 +4,8 @@ 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/10/31
+	* Fixed song/dance/encore cells not being placed down when casted on top of
+	  a land Protector. [Skotlex]
 	* Update homunc's speed when master's speed changes, should avoid homunc's
 	  speed = 0 on login (homunc's stats are calculated before master's stats) [Toms]
 	* When Kaizel (or super novice rebirth skill) triggers, you get debuffed

+ 1 - 1
src/map/skill.c

@@ -9333,7 +9333,7 @@ int skill_landprotector (struct block_list *bl, va_list ap)
 			break;
 	}
 	if (unit->group->skill_id == SA_LANDPROTECTOR &&
-		!(skill_get_inf2(skillid)&(UF_DANCE|UF_SONG|UF_ENSEMBLE)))
+		!(skill_get_unit_flag(skillid)&(UF_DANCE|UF_SONG|UF_ENSEMBLE)))
 	{	//It deletes everything except songs/dances/encores.
 		(*alive) = 0;
 		return 1;