diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-06-07 17:02:05 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-06-07 17:02:05 +0000 |
commit | 0ae3dcfe9127d512eb4f0ccec06837b586fa3bc2 (patch) | |
tree | 75de3c2fa9d34c286f88a5b7db869a2dba022b48 /src/map/unit.c | |
parent | 91ab4e4c9ddaf78f81b867180f627fd52d453942 (diff) | |
download | hercules-0ae3dcfe9127d512eb4f0ccec06837b586fa3bc2.tar.gz hercules-0ae3dcfe9127d512eb4f0ccec06837b586fa3bc2.tar.bz2 hercules-0ae3dcfe9127d512eb4f0ccec06837b586fa3bc2.tar.xz hercules-0ae3dcfe9127d512eb4f0ccec06837b586fa3bc2.zip |
Fixed bug to lion howling/sc_fear status, super mega ultra ubber plus thanks to the awesome malufett
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16238 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r-- | src/map/unit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/unit.c b/src/map/unit.c index 1f8cbf4e1..af4f95350 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -886,7 +886,7 @@ int unit_can_move(struct block_list *bl) return 0; //Can't move if (sc) { - if( sc->cant.move ) + if( sc->cant.move || (sc->data[SC_FEAR] && sc->data[SC_FEAR]->val2 > 0) ) return 0; if (sc->opt1 > 0 && sc->opt1 != OPT1_STONEWAIT && sc->opt1 != OPT1_BURNING) |