From 067ad70e9978fd678bb784783b2b5c3dc32746d1 Mon Sep 17 00:00:00 2001 From: Erik Schilling Date: Tue, 7 Aug 2012 12:27:41 +0200 Subject: Fixed special keeping in list after serverside remove MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Thorbjørn Lindeijer. --- src/playerinfo.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/playerinfo.cpp') 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, -- cgit v1.2.3-60-g2f50