diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-05 15:42:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-05 15:42:51 +0300 |
commit | 3aaf10f021303dd67a2c36bf23f380348b5bdf02 (patch) | |
tree | 1464a1bb892b4ac5d00c40f88db6a12c85a8898a | |
parent | 545017e651250e14656a8ab21c3ab36b8b2fa760 (diff) | |
download | manaverse-3aaf10f021303dd67a2c36bf23f380348b5bdf02.tar.gz manaverse-3aaf10f021303dd67a2c36bf23f380348b5bdf02.tar.bz2 manaverse-3aaf10f021303dd67a2c36bf23f380348b5bdf02.tar.xz manaverse-3aaf10f021303dd67a2c36bf23f380348b5bdf02.zip |
Remove unused function from LocalPlayer.
-rw-r--r-- | src/being/localplayer.cpp | 10 | ||||
-rw-r--r-- | src/being/localplayer.h | 4 |
2 files changed, 0 insertions, 14 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index e81daf267..55859ae69 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -3251,16 +3251,6 @@ bool LocalPlayer::checAttackPermissions(const Being *const target) const } } - -const char *LocalPlayer::getVarItem(const char *const *const arr, - const unsigned index, - const unsigned sz) -{ - if (index < sz) - return arr[index]; - return arr[sz]; -} - void LocalPlayer::updateStatus() const { if (serverVersion >= 4 && mEnableAdvert) diff --git a/src/being/localplayer.h b/src/being/localplayer.h index 341b9f8b0..c27b04f47 100644 --- a/src/being/localplayer.h +++ b/src/being/localplayer.h @@ -420,10 +420,6 @@ class LocalPlayer final : public Being, static void tryMagic(const std::string &spell, const int baseMagic, const int schoolMagic, const int mana); - static const char *getVarItem(const char *const *const arr, - const unsigned index, - const unsigned sz) A_WARN_UNUSED; - void crazyMove1(); void crazyMove2(); void crazyMove3(); |