summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/playerhandler.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp
index ae94ab92..95ecc47e 100644
--- a/src/net/ea/playerhandler.cpp
+++ b/src/net/ea/playerhandler.cpp
@@ -348,11 +348,14 @@ void PlayerHandler::handleMessage(MessageIn &msg)
case SMSG_PLAYER_STAT_UPDATE_4: // Attribute increase ack
{
int type = msg.readInt16();
- int fail = msg.readInt8();
+ int ok = msg.readInt8();
int value = msg.readInt8();
- if (fail != 1)
- break;
+ if (ok != 1)
+ {
+ localChatTab->chatLog(_("Cannot raise skill!."),
+ BY_SERVER);
+ }
int bonus = ATTR_BONUS(type);