summaryrefslogtreecommitdiff
path: root/src/emap/unit.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-06-14 21:51:07 +0300
committerAndrei Karas <akaras@inbox.ru>2018-06-14 21:51:07 +0300
commit70c2ecd3b0abcc968b8fefff580d0b8530873965 (patch)
tree256e4a7f2fc2965f4e0c0a5c8fae4df06cc78ec9 /src/emap/unit.c
parentcbd196f3d0f747827af6c571ffb92a1d1606c0d5 (diff)
downloadevol-hercules-70c2ecd3b0abcc968b8fefff580d0b8530873965.tar.gz
evol-hercules-70c2ecd3b0abcc968b8fefff580d0b8530873965.tar.bz2
evol-hercules-70c2ecd3b0abcc968b8fefff580d0b8530873965.tar.xz
evol-hercules-70c2ecd3b0abcc968b8fefff580d0b8530873965.zip
Update from hercules. Fix compilation errors.
Diffstat (limited to 'src/emap/unit.c')
-rw-r--r--src/emap/unit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emap/unit.c b/src/emap/unit.c
index 873064e..4797d0d 100644
--- a/src/emap/unit.c
+++ b/src/emap/unit.c
@@ -65,7 +65,7 @@ int eunit_can_move_pre(struct block_list **blPtr)
if (sd && (
sd->state.vending ||
sd->state.buyingstore ||
- sd->state.blockedmove))
+ sd->block_action.move))
{
hookStop();
return 0; //Can't move