summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-05 15:42:51 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-05 15:42:51 +0300
commit3aaf10f021303dd67a2c36bf23f380348b5bdf02 (patch)
tree1464a1bb892b4ac5d00c40f88db6a12c85a8898a /src/being/localplayer.cpp
parent545017e651250e14656a8ab21c3ab36b8b2fa760 (diff)
downloadmanaverse-3aaf10f021303dd67a2c36bf23f380348b5bdf02.tar.gz
manaverse-3aaf10f021303dd67a2c36bf23f380348b5bdf02.tar.bz2
manaverse-3aaf10f021303dd67a2c36bf23f380348b5bdf02.tar.xz
manaverse-3aaf10f021303dd67a2c36bf23f380348b5bdf02.zip
Remove unused function from LocalPlayer.
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r--src/being/localplayer.cpp10
1 files changed, 0 insertions, 10 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)