summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-23 01:26:32 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-23 01:26:32 +0000
commit2e1fa5bf2a803ac44a7104ea606c8deb5bc21b96 (patch)
tree86601a4626eb2627aa427149e2b17e9d01e90a85 /src/map/unit.c
parent79db43cb10fafb3a7a7b04a964c0a7a4d407c363 (diff)
downloadhercules-2e1fa5bf2a803ac44a7104ea606c8deb5bc21b96.tar.gz
hercules-2e1fa5bf2a803ac44a7104ea606c8deb5bc21b96.tar.bz2
hercules-2e1fa5bf2a803ac44a7104ea606c8deb5bc21b96.tar.xz
hercules-2e1fa5bf2a803ac44a7104ea606c8deb5bc21b96.zip
follow up the awesome killer-commit r16479
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16480 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 1e0bad280..53ad02d8a 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -929,6 +929,7 @@ int unit_can_move(struct block_list *bl)
(sc->data[SC_DANCING]->val1&0xFFFF) == CG_HERMODE
) )
)
+ return 0;
if (sc->opt1 > 0 && sc->opt1 != OPT1_STONEWAIT && sc->opt1 != OPT1_BURNING && (sc->opt1 != OPT1_CRYSTALIZE && bl->type != BL_MOB))
return 0;