summaryrefslogtreecommitdiff
path: root/src/net/manaserv
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/net/manaserv
parent9f564cc42ba650c502a31b72dc59530fcad684cd (diff)
downloadmana-067ad70e9978fd678bb784783b2b5c3dc32746d1.tar.gz
mana-067ad70e9978fd678bb784783b2b5c3dc32746d1.tar.bz2
mana-067ad70e9978fd678bb784783b2b5c3dc32746d1.tar.xz
mana-067ad70e9978fd678bb784783b2b5c3dc32746d1.zip
Fixed special keeping in list after serverside remove
Reviewed-by: Thorbjørn Lindeijer.
Diffstat (limited to 'src/net/manaserv')
-rw-r--r--src/net/manaserv/playerhandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/manaserv/playerhandler.cpp b/src/net/manaserv/playerhandler.cpp
index c2c491d5..484e551a 100644
--- a/src/net/manaserv/playerhandler.cpp
+++ b/src/net/manaserv/playerhandler.cpp
@@ -248,6 +248,7 @@ void PlayerHandler::handleMessage(MessageIn &msg)
case GPMSG_SPECIAL_STATUS :
{
+ PlayerInfo::clearSpecialStatus();
while (msg.getUnreadLength())
{
// { B specialID, L current, L max, L recharge }