summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index c8b0e0d26..b51e2602d 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -837,6 +837,8 @@ int unit_can_move(struct block_list *bl)
sc->data[SC_CLOAKING]->val1 < 3 && !(sc->data[SC_CLOAKING]->val4&1))
|| sc->data[SC_MADNESSCANCEL]
|| (sc->data[SC_GRAVITATION] && sc->data[SC_GRAVITATION]->val3 == BCT_SELF)
+ || (sc->data[SC_FEAR] && sc->data[SC_FEAR]->val3 > 0)
+ || sc->data[SC_DEATHBOUND]
))
return 0;
}