From 87faf131575091160e9776c511e24b65e8b6b2e9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 6 Oct 2014 00:12:33 +0300 Subject: Disable char rename button if for selected char not allowed rename. --- src/net/eathena/charserverhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/eathena/charserverhandler.cpp') 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) -- cgit v1.2.3-70-g09d2