summaryrefslogtreecommitdiff
path: root/src/playerinfo.cpp
diff options
context:
space:
mode:
authorErik Schilling <ablu.erikschilling@googlemail.com>2012-08-07 12:27:41 +0200
committerErik Schilling <ablu.erikschilling@googlemail.com>2012-08-12 23:33:34 +0200
commit067ad70e9978fd678bb784783b2b5c3dc32746d1 (patch)
tree27c887e0568e364d5b6c7969df03c6b355c5da9a /src/playerinfo.cpp
parent9f564cc42ba650c502a31b72dc59530fcad684cd (diff)
downloadmana-client-067ad70e9978fd678bb784783b2b5c3dc32746d1.tar.gz
mana-client-067ad70e9978fd678bb784783b2b5c3dc32746d1.tar.bz2
mana-client-067ad70e9978fd678bb784783b2b5c3dc32746d1.tar.xz
mana-client-067ad70e9978fd678bb784783b2b5c3dc32746d1.zip
Fixed special keeping in list after serverside remove
Reviewed-by: Thorbjørn Lindeijer.
Diffstat (limited to 'src/playerinfo.cpp')
-rw-r--r--src/playerinfo.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/playerinfo.cpp b/src/playerinfo.cpp
index 692090af..03c48340 100644
--- a/src/playerinfo.cpp
+++ b/src/playerinfo.cpp
@@ -282,6 +282,11 @@ void setBuySellState(BuySellState buySellState)
// --- Specials ---------------------------------------------------------------
+void clearSpecialStatus()
+{
+ mSpecials.clear();
+}
+
void setSpecialStatus(int id, int current, int max, int recharge)
{
logger->log("SpecialUpdate Skill #%d -- (%d/%d) -> %d", id, current, max,