diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-25 23:04:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-25 23:04:34 +0300 |
commit | 42701a1ac7b553f445b68c23fd115cc522d1b679 (patch) | |
tree | e16c5577d7c2f3fb6e1e2bcbaa69f05a5faebeeb /src/being/localplayer.cpp | |
parent | a8f264a9aad2ec9d90759a65d556cc97d7785fb6 (diff) | |
download | manaplus-42701a1ac7b553f445b68c23fd115cc522d1b679.tar.gz manaplus-42701a1ac7b553f445b68c23fd115cc522d1b679.tar.bz2 manaplus-42701a1ac7b553f445b68c23fd115cc522d1b679.tar.xz manaplus-42701a1ac7b553f445b68c23fd115cc522d1b679.zip |
Add simple follow logic for mercenary and homunculus.
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r-- | src/being/localplayer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index 30e323d7e..a160896fb 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -460,6 +460,8 @@ void LocalPlayer::nextTile(unsigned char dir A_UNUSED = 0) { Being::nextTile(); } + + PlayerInfo::updateMoveAI(); } bool LocalPlayer::pickUp(FloorItem *const item) |