summaryrefslogtreecommitdiff
path: root/src/map
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 /src/map
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
Diffstat (limited to 'src/map')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
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;