summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcsnv <ctt@csnv.es>2015-01-03 18:41:33 +0100
committercsnv <ctt@csnv.es>2015-01-03 18:41:33 +0100
commit50aae2224eb784aeaec46537574cc5c5bafc8c3e (patch)
tree5cf62e3929ad96f09a663e532535936e51478a67 /src
parent3dc29e4a4ecdc2f474223461bd18d5beabcd9994 (diff)
downloadhercules-50aae2224eb784aeaec46537574cc5c5bafc8c3e.tar.gz
hercules-50aae2224eb784aeaec46537574cc5c5bafc8c3e.tar.bz2
hercules-50aae2224eb784aeaec46537574cc5c5bafc8c3e.tar.xz
hercules-50aae2224eb784aeaec46537574cc5c5bafc8c3e.zip
Corrected flag INF2_NOLP to actually work as intended
Diffstat (limited to 'src')
-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 a89f61a49..423bcf630 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -15371,7 +15371,7 @@ int skill_cell_overlap(struct block_list *bl, va_list ap) {
break;
}
- if (su->group->skill_id == SA_LANDPROTECTOR && !(skill->get_inf2(skill_id)&(INF2_SONG_DANCE|INF2_TRAP))) {
+ if (su->group->skill_id == SA_LANDPROTECTOR && !(skill->get_inf2(skill_id)&(INF2_SONG_DANCE|INF2_TRAP|INF2_NOLP))) {
//It deletes everything except songs/dances/traps
(*alive) = 0;
return 1;