summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2014-02-10 17:17:08 -0200
committershennetsind <ind@henn.et>2014-02-10 17:17:08 -0200
commit186fbc51d1254c9de712719a22b60f38d2a2cf60 (patch)
tree4c6b58a7af5ccf0976b5935339db6783f82b45b7 /src/map/skill.c
parent9dea9f8287efd2a1b65863f258ace92acf5f486e (diff)
downloadhercules-186fbc51d1254c9de712719a22b60f38d2a2cf60.tar.gz
hercules-186fbc51d1254c9de712719a22b60f38d2a2cf60.tar.bz2
hercules-186fbc51d1254c9de712719a22b60f38d2a2cf60.tar.xz
hercules-186fbc51d1254c9de712719a22b60f38d2a2cf60.zip
Fixed guild aura going away on LP
Thanks to AnnieRuru, kyeme. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index a66ead4ae..9fedea85e 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -14823,6 +14823,9 @@ int skill_cell_overlap(struct block_list *bl, va_list ap) {
if( su == NULL || su->group == NULL || (*alive) == 0 )
return 0;
+ if( su->group->state.guildaura ) /* guild auras are not cancelled! */
+ return 0;
+
switch (skill_id) {
case SA_LANDPROTECTOR:
if( su->group->skill_id == SA_LANDPROTECTOR ) {//Check for offensive Land Protector to delete both. [Skotlex]