From 7923cecc16aad3ff6fb80070240e99e667af1d6c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 3 May 2019 01:37:55 +0300 Subject: Add missing checks for prevend flag --- src/map/unit.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/unit.c') 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 )) -- cgit v1.2.3-60-g2f50