summaryrefslogtreecommitdiff
path: root/src/net/eathena/charserverhandler.cpp
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/charserverhandler.cpp
parent7901ff853659fb9dda0218eac22c740dd44b1bd3 (diff)
downloadmv-87faf131575091160e9776c511e24b65e8b6b2e9.tar.gz
mv-87faf131575091160e9776c511e24b65e8b6b2e9.tar.bz2
mv-87faf131575091160e9776c511e24b65e8b6b2e9.tar.xz
mv-87faf131575091160e9776c511e24b65e8b6b2e9.zip
Disable char rename button if for selected char not allowed rename.
Diffstat (limited to 'src/net/eathena/charserverhandler.cpp')
-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)