Revert "Added pcblock and checkpcblock script commands. (#3951)" (#4048)

This reverts commit 3e0d3d2fe6.
This commit is contained in:
Atemo
2019-03-26 16:41:14 +01:00
committed by GitHub
parent 3e0d3d2fe6
commit e4b41ef7e0
14 changed files with 19 additions and 169 deletions

View File

@@ -1376,7 +1376,7 @@ int unit_can_move(struct block_list *bl) {
if (DIFF_TICK(ud->canmove_tick, gettick()) > 0)
return 0;
if ((sd && (pc_issit(sd) || sd->state.vending || sd->state.buyingstore || (sd->state.block_action & PCBLOCK_MOVE))) || ud->state.blockedmove)
if ((sd && (pc_issit(sd) || sd->state.vending || sd->state.buyingstore)) || ud->state.blockedmove)
return 0; // Can't move
// Status changes that block movement