diff options
author | Vincent Thibault <vthibault.mobile@gmail.com> | 2014-04-15 15:41:40 +0200 |
---|---|---|
committer | Vincent Thibault <vthibault.mobile@gmail.com> | 2014-04-15 15:41:40 +0200 |
commit | be0de5a9f6c0b4ceeaa70b044d58ae584e97d9fd (patch) | |
tree | 1eff6059486418f96d0bd384a09a00235333c6ce /src | |
parent | 7dab561f42bcc47199013d7a6c86e8aa2a9e6266 (diff) | |
download | hercules-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')
-rw-r--r-- | src/map/clif.c | 2 |
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 ) |