From be0de5a9f6c0b4ceeaa70b044d58ae584e97d9fd Mon Sep 17 00:00:00 2001 From: Vincent Thibault Date: Tue, 15 Apr 2014 15:41:40 +0200 Subject: Fix - Do not allow players to attack while sitting --- src/map/clif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 ) -- cgit v1.2.3-60-g2f50