From 8607ce53d1cb84c54ed1e7bdd17ad03c188ecd0c Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Sat, 3 Oct 2009 10:43:04 -0600 Subject: Still update attrs for eAthena when increase fails Corrisponding change in eAthena made too. --- src/net/ea/playerhandler.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/net/ea/playerhandler.cpp') 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); -- cgit v1.2.3-60-g2f50