summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-05 20:59:37 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-05 21:02:42 +0300
commit95532bf76d70bafbb7d0bc0e2dd0fc92fd7f74cf (patch)
tree53c227068936ed4690866f4e13b957678e181dac /src/net/tmwa
parentb0361de1fcfc26b4bb497473e9fe1ef0f5013c98 (diff)
downloadplus-95532bf76d70bafbb7d0bc0e2dd0fc92fd7f74cf.tar.gz
plus-95532bf76d70bafbb7d0bc0e2dd0fc92fd7f74cf.tar.bz2
plus-95532bf76d70bafbb7d0bc0e2dd0fc92fd7f74cf.tar.xz
plus-95532bf76d70bafbb7d0bc0e2dd0fc92fd7f74cf.zip
Add char rename button if server support it.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/charserverhandler.cpp2
-rw-r--r--src/net/tmwa/charserverhandler.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/charserverhandler.cpp b/src/net/tmwa/charserverhandler.cpp
index 274120a83..95b26a89d 100644
--- a/src/net/tmwa/charserverhandler.cpp
+++ b/src/net/tmwa/charserverhandler.cpp
@@ -511,7 +511,7 @@ void CharServerHandler::processCharCreate2(Net::MessageIn &msg)
BLOCK_END("CharServerHandler::processCharCreate2")
}
-void CharServerHandler::renameCharacter(Net::Character *const character,
+void CharServerHandler::renameCharacter(const int id,
const std::string &newName)
{
}
diff --git a/src/net/tmwa/charserverhandler.h b/src/net/tmwa/charserverhandler.h
index 29af074a5..22e616003 100644
--- a/src/net/tmwa/charserverhandler.h
+++ b/src/net/tmwa/charserverhandler.h
@@ -53,7 +53,7 @@ class CharServerHandler final : public MessageHandler,
void deleteCharacter(Net::Character *const character) override final;
- void renameCharacter(Net::Character *const character,
+ void renameCharacter(const int id,
const std::string &newName) override final;
void switchCharacter() const override final;