summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/being/localplayer.cpp10
-rw-r--r--src/being/localplayer.h4
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();