From 4bd16234b0853058424f9b3e2f90d27b04562148 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 6 Mar 2016 23:12:52 +0300 Subject: Remove decreaseAttribute because it left from manaserv. --- src/net/ea/playerhandler.cpp | 4 ---- src/net/ea/playerhandler.h | 3 --- src/net/playerhandler.h | 2 -- 3 files changed, 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; -- cgit v1.2.3-70-g09d2