summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-31 19:57:58 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-31 19:57:58 +0000
commitcaa61776b9b530bacc602e6aabe50997544c7d12 (patch)
treee88f138be896e4c9870c378c2e6a704e875ee1b8
parent4eca49fa31b59b3f532b871105462fc8fd212cdb (diff)
downloadhercules-caa61776b9b530bacc602e6aabe50997544c7d12.tar.gz
hercules-caa61776b9b530bacc602e6aabe50997544c7d12.tar.bz2
hercules-caa61776b9b530bacc602e6aabe50997544c7d12.tar.xz
hercules-caa61776b9b530bacc602e6aabe50997544c7d12.zip
- Fixed song/dance/encore cells not being placed down when casted on top of a land Protector.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9111 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/skill.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index ffb236b8c..29cadce01 100644
--- a/Changelog-Trunk.txt
+++ b/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
diff --git a/src/map/skill.c b/src/map/skill.c
index b5e5dd31c..b11ae6dde 100644
--- a/src/map/skill.c
+++ b/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;