summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index a45ac1902..34286e3cb 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -359,6 +359,9 @@ int pc_can_move(struct map_session_data *sd)
if ((sd->sc.option & OPTION_HIDE) && pc_checkskill(sd, RG_TUNNELDRIVE) <= 0)
return 0;
+
+ if (pc_issit(sd))
+ return 0; //Can't move while sitting...
if (DIFF_TICK(sd->canmove_tick, gettick()) > 0)
return 0;