summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-14 01:54:02 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-14 01:54:02 +0300
commit37976a30f4f6ae3cb7fa25a54b640ae37b608bdf (patch)
tree787e862ce3c48be339906baeb13dd3bbf513e380 /src/net/tmwa
parent21ff910b7b30b1a515db24e890d3a7b443b2d859 (diff)
downloadmanaplus-37976a30f4f6ae3cb7fa25a54b640ae37b608bdf.tar.gz
manaplus-37976a30f4f6ae3cb7fa25a54b640ae37b608bdf.tar.bz2
manaplus-37976a30f4f6ae3cb7fa25a54b640ae37b608bdf.tar.xz
manaplus-37976a30f4f6ae3cb7fa25a54b640ae37b608bdf.zip
Rename packet CMSG_PLAYER_SET_EQUIPMENT_VISIBLE into CMSG_SET_CONFIG_OPTION.
For now unused.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/playerhandler.cpp3
-rw-r--r--src/net/tmwa/playerhandler.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp
index 71b2d55c6..ffc1b3176 100644
--- a/src/net/tmwa/playerhandler.cpp
+++ b/src/net/tmwa/playerhandler.cpp
@@ -207,7 +207,8 @@ void PlayerHandler::shortcutShiftRow(const int row A_UNUSED) const
{
}
-void PlayerHandler::setViewEquipment(const bool allow A_UNUSED) const
+void PlayerHandler::setConfigOption(const int id A_UNUSED,
+ const int data A_UNUSED) const
{
}
diff --git a/src/net/tmwa/playerhandler.h b/src/net/tmwa/playerhandler.h
index b4bfabe02..044fc47d4 100644
--- a/src/net/tmwa/playerhandler.h
+++ b/src/net/tmwa/playerhandler.h
@@ -78,7 +78,8 @@ class PlayerHandler final : public Ea::PlayerHandler
void revive() const override final;
- void setViewEquipment(const bool allow) const override final;
+ void setConfigOption(const int id A_UNUSED,
+ const int data A_UNUSED) const override final;
void selectStyle(const int headColor,
const int headStyle,