summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-02-07 22:15:52 -0200
committershennetsind <ind@henn.et>2013-02-07 22:15:52 -0200
commit4c9bfed8c21cb80a806fffc32c7ac629bdf73438 (patch)
treef5e389854211f679fbdcc04a9abf352bef57d8de /src/map/skill.c
parent54d0583c7bf443f6fdcc9d5c500188a4f0612357 (diff)
downloadhercules-4c9bfed8c21cb80a806fffc32c7ac629bdf73438.tar.gz
hercules-4c9bfed8c21cb80a806fffc32c7ac629bdf73438.tar.bz2
hercules-4c9bfed8c21cb80a806fffc32c7ac629bdf73438.tar.xz
hercules-4c9bfed8c21cb80a806fffc32c7ac629bdf73438.zip
Adjustment to skill_trap_type battle/skill config
The effect of the config is now restricted to GvG. http://hercules.ws/board/tracker/issue-4832-hunter-ht-anklesnare-serious-bug/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/skill.c')
-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 4b9484609..cb15f0083 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -11459,7 +11459,7 @@ int skill_unit_onplace_timer (struct skill_unit *src, struct block_list *bl, uns
const struct TimerData* td = tsc->data[type]?get_timer(tsc->data[type]->timer):NULL;
if( td )
sec = DIFF_TICK(td->tick, tick);
- if( sg->unit_id == UNT_MANHOLE || battle_config.skill_trap_type ) {
+ if( sg->unit_id == UNT_MANHOLE || battle_config.skill_trap_type || !map_flag_gvg(src->bl.m) ) {
unit_movepos(bl, src->bl.x, src->bl.y, 0, 0);
clif_fixpos(bl);
}