From 37976a30f4f6ae3cb7fa25a54b640ae37b608bdf Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 14 Jul 2018 01:54:02 +0300 Subject: Rename packet CMSG_PLAYER_SET_EQUIPMENT_VISIBLE into CMSG_SET_CONFIG_OPTION. For now unused. --- src/net/eathena/playerhandler.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/net/eathena/playerhandler.cpp') diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp index e22ca822b..d82e28a05 100644 --- a/src/net/eathena/playerhandler.cpp +++ b/src/net/eathena/playerhandler.cpp @@ -503,11 +503,12 @@ void PlayerHandler::revive() const createOutPacket(CMSG_PLAYER_AUTO_REVIVE); } -void PlayerHandler::setViewEquipment(const bool allow) const +void PlayerHandler::setConfigOption(const int id, + const int data) const { - createOutPacket(CMSG_PLAYER_SET_EQUIPMENT_VISIBLE); - outMsg.writeInt32(0, "unused"); - outMsg.writeInt32(allow ? 1 : 0, "allow"); + createOutPacket(CMSG_SET_CONFIG_OPTION); + outMsg.writeInt32(id, "config option"); + outMsg.writeInt32(data, "config data"); } #define setStatComplex(stat) \ -- cgit v1.2.3-70-g09d2