diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-24 16:32:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-24 16:32:39 +0300 |
commit | d0bc156e6f0da733457d608f9d81689324c08301 (patch) | |
tree | 42612f924db4d4c603b05e55a59bc3cd3e925367 | |
parent | de73499f5ae0fa4ca0275e8c720da333e9dc635e (diff) | |
download | manaverse-d0bc156e6f0da733457d608f9d81689324c08301.tar.gz manaverse-d0bc156e6f0da733457d608f9d81689324c08301.tar.bz2 manaverse-d0bc156e6f0da733457d608f9d81689324c08301.tar.xz manaverse-d0bc156e6f0da733457d608f9d81689324c08301.zip |
Remove function PlayerInfo::updateMoveAI.
-rw-r--r-- | src/being/localplayer.cpp | 2 | ||||
-rw-r--r-- | src/being/playerinfo.cpp | 8 | ||||
-rw-r--r-- | src/being/playerinfo.h | 2 |
3 files changed, 0 insertions, 12 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index 54865a6ae..bf50025fd 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -480,8 +480,6 @@ void LocalPlayer::nextTile(unsigned char dir A_UNUSED = 0) { Being::nextTile(); } - - PlayerInfo::updateMoveAI(); } bool LocalPlayer::pickUp(FloorItem *const item) diff --git a/src/being/playerinfo.cpp b/src/being/playerinfo.cpp index ea1ee8388..0c11b4171 100644 --- a/src/being/playerinfo.cpp +++ b/src/being/playerinfo.cpp @@ -595,14 +595,6 @@ BeingId getMercenaryId() return mMercenary ? mMercenary->id : BeingId_zero; } -void updateMoveAI() -{ - if (mMercenary && mercenaryHandler) - mercenaryHandler->moveToMaster(); - if (mHomunculus && homunculusHandler) - homunculusHandler->moveToMaster(); -} - void updateAttackAi(const BeingId targetId, const Keep keep) { diff --git a/src/being/playerinfo.h b/src/being/playerinfo.h index 2991d0adc..e46af76a5 100644 --- a/src/being/playerinfo.h +++ b/src/being/playerinfo.h @@ -277,8 +277,6 @@ namespace PlayerInfo BeingId getElementalId(); - void updateMoveAI(); - void updateAttackAi(const BeingId targetId, const Keep keep); |