From 2bd61993e4b8cb190fbbbcf620f4901636404d48 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 17 Dec 2017 04:43:10 +0300 Subject: Remove unused functions from playerinfo.cpp --- src/being/playerinfo.cpp | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/being/playerinfo.cpp') diff --git a/src/being/playerinfo.cpp b/src/being/playerinfo.cpp index 0a89bd7e1..d56934d31 100644 --- a/src/being/playerinfo.cpp +++ b/src/being/playerinfo.cpp @@ -187,21 +187,6 @@ const std::pair getStatExperience(const AttributesT id) return std::pair(a, b); } -void setStatExperience(const AttributesT id, - const int have, - const int need, - const Notify notify) -{ - Stat &stat = mData.mStats[id]; - - const int oldExp = stat.exp; - const int oldExpNeed = stat.expNeed; - stat.exp = have; - stat.expNeed = need; - if (notify == Notify_true) - triggerStat(id, oldExp, oldExpNeed); -} - // --- Inventory / Equipment -------------------------------------------------- Inventory *getInventory() -- cgit v1.2.3-60-g2f50