summaryrefslogtreecommitdiff
path: root/src/net/manaserv/playerhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/manaserv/playerhandler.cpp')
-rw-r--r--src/net/manaserv/playerhandler.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/net/manaserv/playerhandler.cpp b/src/net/manaserv/playerhandler.cpp
index 9847ca35..d7c3dab6 100644
--- a/src/net/manaserv/playerhandler.cpp
+++ b/src/net/manaserv/playerhandler.cpp
@@ -160,13 +160,7 @@ void PlayerHandler::handleMessage(Net::MessageIn &msg)
case GPMSG_LEVEL_PROGRESS:
{
- // Don't show the first XP notification as it is sent by the server
- // to initialize the current XP level.
- static bool firstTime = true;
- if (firstTime)
- firstTime = false;
- else
- PlayerInfo::setAttribute(EXP, msg.readInt8());
+ PlayerInfo::setAttribute(EXP, msg.readInt8());
} break;