diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-05-03 01:37:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-05-05 22:24:25 +0300 |
commit | 7923cecc16aad3ff6fb80070240e99e667af1d6c (patch) | |
tree | 62c6a1e813eb5794ea91e970f5aac0cb355cae37 /src/map/unit.c | |
parent | 19a162b61f14883ae0a2e25b6252796cc4c77cb9 (diff) | |
download | hercules-7923cecc16aad3ff6fb80070240e99e667af1d6c.tar.gz hercules-7923cecc16aad3ff6fb80070240e99e667af1d6c.tar.bz2 hercules-7923cecc16aad3ff6fb80070240e99e667af1d6c.tar.xz hercules-7923cecc16aad3ff6fb80070240e99e667af1d6c.zip |
Add missing checks for prevend flag
Diffstat (limited to 'src/map/unit.c')
-rw-r--r-- | src/map/unit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/unit.c b/src/map/unit.c index 68e6aeec1..a6805c610 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -1090,6 +1090,7 @@ static int unit_can_move(struct block_list *bl) if (sd && ( pc_issit(sd) || sd->state.vending || + sd->state.prevend || sd->state.buyingstore || sd->block_action.move )) |