summaryrefslogtreecommitdiff
path: root/src/net/eathena/playerhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/playerhandler.cpp')
-rw-r--r--src/net/eathena/playerhandler.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp
index 551ab0144..d3b0e6803 100644
--- a/src/net/eathena/playerhandler.cpp
+++ b/src/net/eathena/playerhandler.cpp
@@ -449,11 +449,17 @@ void PlayerHandler::updateStatus(const uint8_t status) const
}
void PlayerHandler::setShortcut(const int idx,
+ const int tab,
const uint8_t type,
const int id,
const int level) const
{
createOutPacket(CMSG_SET_SHORTCUTS);
+ if (packetVersionMain >= 20190522 ||
+ packetVersionRe >= 20190508)
+ {
+ outMsg.writeInt16(CAST_S16(tab), "tab");
+ }
outMsg.writeInt16(CAST_S16(idx), "index");
outMsg.writeInt8(CAST_S8(type), "type");
outMsg.writeInt32(id, "id");