summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-23 23:20:27 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-23 23:20:27 +0000
commit460b301a343005bf1c408ee7aee10a2e925d9dc5 (patch)
tree9dcca45627ddcd75fcb3c360659531ec2ec7659d /src/map/unit.c
parenteb3c92c2cc583e236fa8ede64eaa6f6ae506c665 (diff)
downloadhercules-460b301a343005bf1c408ee7aee10a2e925d9dc5.tar.gz
hercules-460b301a343005bf1c408ee7aee10a2e925d9dc5.tar.bz2
hercules-460b301a343005bf1c408ee7aee10a2e925d9dc5.tar.xz
hercules-460b301a343005bf1c408ee7aee10a2e925d9dc5.zip
Fixed bugreport:6095 Spider Web has been removed from the SCS condition system as its data cannot be cached (requires real-time check)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16331 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 319b2a40d..2fc70d31e 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -916,7 +916,7 @@ int unit_can_move(struct block_list *bl)
return 0; //Can't move
if (sc) {
- if( sc->cant.move || (sc->data[SC_FEAR] && sc->data[SC_FEAR]->val2 > 0) )
+ if( sc->cant.move || (sc->data[SC_FEAR] && sc->data[SC_FEAR]->val2 > 0) || (sc->data[SC_SPIDERWEB] && sc->data[SC_SPIDERWEB]->val1) )
return 0;
if (sc->opt1 > 0 && sc->opt1 != OPT1_STONEWAIT && sc->opt1 != OPT1_BURNING && (sc->opt1 != OPT1_CRYSTALIZE && bl->type != BL_MOB))