summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorcsnv <ctt@csnv.es>2014-09-14 19:09:02 +0200
committercsnv <ctt@csnv.es>2014-09-14 19:09:02 +0200
commit91251803d14a323320878e2d00534613394e8a3a (patch)
treec2d2da751ec2e408c3b6ecb3ac9e3725eb06f845 /src/map/clif.c
parent27a5dde4ad7f1e295d79abc1e82ec5ec0db15d2b (diff)
downloadhercules-91251803d14a323320878e2d00534613394e8a3a.tar.gz
hercules-91251803d14a323320878e2d00534613394e8a3a.tar.bz2
hercules-91251803d14a323320878e2d00534613394e8a3a.tar.xz
hercules-91251803d14a323320878e2d00534613394e8a3a.zip
Fixes sitting on trap, SO_VACUUM_EXTREME and RA_CAMOUFLAGE
- Don't sit while trapped. Bug http://hercules.ws/board/tracker/issue-7825-trap/ SO_VACUUM_EXTREME swapping targets when 2 or more are present and close to each other.
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index d9acf0792..26462afba 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -10173,6 +10173,7 @@ void clif_parse_ActionRequest_sub(struct map_session_data *sd, int action_type,
if (sd->sc.count && (
sd->sc.data[SC_DANCING] ||
+ sd->sc.data[SC_ANKLESNARE] ||
(sd->sc.data[SC_GRAVITATION] && sd->sc.data[SC_GRAVITATION]->val3 == BCT_SELF)
)) //No sitting during these states either.
break;