summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-06 23:12:52 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-06 23:12:52 +0300
commit4bd16234b0853058424f9b3e2f90d27b04562148 (patch)
tree6126fac2d8476c0559abefb0ecaaaa33aea0d19e
parent0d35aab89fab92c11282f1c878b0fbbf68ca4ccf (diff)
downloadplus-4bd16234b0853058424f9b3e2f90d27b04562148.tar.gz
plus-4bd16234b0853058424f9b3e2f90d27b04562148.tar.bz2
plus-4bd16234b0853058424f9b3e2f90d27b04562148.tar.xz
plus-4bd16234b0853058424f9b3e2f90d27b04562148.zip
Remove decreaseAttribute because it left from manaserv.
-rw-r--r--src/net/ea/playerhandler.cpp4
-rw-r--r--src/net/ea/playerhandler.h3
-rw-r--r--src/net/playerhandler.h2
3 files changed, 0 insertions, 9 deletions
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp
index d6464028e..9ee783af4 100644
--- a/src/net/ea/playerhandler.cpp
+++ b/src/net/ea/playerhandler.cpp
@@ -46,10 +46,6 @@ PlayerHandler::PlayerHandler()
{
}
-void PlayerHandler::decreaseAttribute(const AttributesT attr A_UNUSED) const
-{
-}
-
void PlayerHandler::ignorePlayer(const std::string &player A_UNUSED,
const bool ignore A_UNUSED) const
{
diff --git a/src/net/ea/playerhandler.h b/src/net/ea/playerhandler.h
index e5105dc16..7883ed342 100644
--- a/src/net/ea/playerhandler.h
+++ b/src/net/ea/playerhandler.h
@@ -42,9 +42,6 @@ class PlayerHandler notfinal : public Net::PlayerHandler
A_DELETE_COPY(PlayerHandler)
- void decreaseAttribute(const AttributesT attr) const
- override final A_CONST;
-
void ignorePlayer(const std::string &player,
const bool ignore) const override final A_CONST;
diff --git a/src/net/playerhandler.h b/src/net/playerhandler.h
index 3292c6083..9e38bbdb8 100644
--- a/src/net/playerhandler.h
+++ b/src/net/playerhandler.h
@@ -52,8 +52,6 @@ class PlayerHandler notfinal
virtual void increaseAttribute(const AttributesT attr,
const int amount) const = 0;
- virtual void decreaseAttribute(const AttributesT attr) const = 0;
-
virtual void increaseSkill(const uint16_t skillId) const = 0;
virtual void pickUp(const FloorItem *const floorItem) const = 0;