summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorVincent Thibault <vthibault.mobile@gmail.com>2014-04-15 15:41:40 +0200
committerVincent Thibault <vthibault.mobile@gmail.com>2014-04-15 15:41:40 +0200
commitbe0de5a9f6c0b4ceeaa70b044d58ae584e97d9fd (patch)
tree1eff6059486418f96d0bd384a09a00235333c6ce /src/map/clif.c
parent7dab561f42bcc47199013d7a6c86e8aa2a9e6266 (diff)
downloadhercules-be0de5a9f6c0b4ceeaa70b044d58ae584e97d9fd.tar.gz
hercules-be0de5a9f6c0b4ceeaa70b044d58ae584e97d9fd.tar.bz2
hercules-be0de5a9f6c0b4ceeaa70b044d58ae584e97d9fd.tar.xz
hercules-be0de5a9f6c0b4ceeaa70b044d58ae584e97d9fd.zip
Fix - Do not allow players to attack while sitting
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index ff8cc9653..7715e6c6a 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -10101,7 +10101,7 @@ void clif_parse_ActionRequest_sub(struct map_session_data *sd, int action_type,
return;
}
- if( pc_cant_act(sd) || sd->sc.option&OPTION_HIDE )
+ if( pc_cant_act(sd) || pc_issit(sd) || sd->sc.option&OPTION_HIDE )
return;
if( sd->sc.option&OPTION_COSTUME )