summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-06 00:12:33 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-06 00:12:33 +0300
commit87faf131575091160e9776c511e24b65e8b6b2e9 (patch)
tree99f057c18ff79f1e8064be146c65fca4f50e2616 /src/net/eathena
parent7901ff853659fb9dda0218eac22c740dd44b1bd3 (diff)
downloadplus-87faf131575091160e9776c511e24b65e8b6b2e9.tar.gz
plus-87faf131575091160e9776c511e24b65e8b6b2e9.tar.bz2
plus-87faf131575091160e9776c511e24b65e8b6b2e9.tar.xz
plus-87faf131575091160e9776c511e24b65e8b6b2e9.zip
Disable char rename button if for selected char not allowed rename.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/charserverhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp
index b0a7249f5..e595c9ed4 100644
--- a/src/net/eathena/charserverhandler.cpp
+++ b/src/net/eathena/charserverhandler.cpp
@@ -235,7 +235,7 @@ void CharServerHandler::readPlayerData(Net::MessageIn &msg,
msg.readInt32("delete date");
msg.readInt32("robe");
msg.readInt32("slot change");
- msg.readInt32("rename (inverse)");
+ tempPlayer->setRename(msg.readInt32("rename (inverse)"));
}
void CharServerHandler::chooseCharacter(Net::Character *const character)