diff options
Diffstat (limited to 'src')
-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); |