summaryrefslogtreecommitdiff
path: root/src/map/status.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/status.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/status.c')
-rw-r--r--src/map/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 0ee993de4..97b7c61a1 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -8663,7 +8663,7 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val
unit_stop_walking(bl,1);
break;
case SC_ANKLE:
- if( battle_config.skill_trap_type )
+ if( battle_config.skill_trap_type || !map_flag_gvg(bl->m) )
unit_stop_walking(bl,1);
break;
case SC_HIDING: