summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/charselectdialog.cpp1
-rw-r--r--src/net/ea/playerhandler.cpp9
2 files changed, 6 insertions, 4 deletions
diff --git a/src/gui/charselectdialog.cpp b/src/gui/charselectdialog.cpp
index da2e0d9b..ec9c4818 100644
--- a/src/gui/charselectdialog.cpp
+++ b/src/gui/charselectdialog.cpp
@@ -260,7 +260,6 @@ bool CharSelectDialog::selectByName(const std::string &name)
void CharSelectDialog::setNetworkOptions(bool allowUnregister,
bool allowChangeEmail)
{
- printf("Network options: %d, %d\n", allowUnregister, allowChangeEmail);
doAllowUnregister = allowUnregister;
doAllowChangeEmail = allowChangeEmail;
}
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);