summaryrefslogtreecommitdiff
path: root/src/net/eathena/playerhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-06-26 22:37:08 +0300
committerAndrei Karas <akaras@inbox.ru>2019-06-26 22:37:08 +0300
commit653431655169659331999f4f2d63aa05cfcf3134 (patch)
tree64be2e53c95adc1935bcce44154134270d007c90 /src/net/eathena/playerhandler.cpp
parent888c5621cfe3a646f1f21290d3c5cd027eeba0a9 (diff)
downloadplus-653431655169659331999f4f2d63aa05cfcf3134.tar.gz
plus-653431655169659331999f4f2d63aa05cfcf3134.tar.bz2
plus-653431655169659331999f4f2d63aa05cfcf3134.tar.xz
plus-653431655169659331999f4f2d63aa05cfcf3134.zip
Update packet CMSG_SHORTCUTS_ROW_SHIFT
Diffstat (limited to 'src/net/eathena/playerhandler.cpp')
-rw-r--r--src/net/eathena/playerhandler.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp
index cefbcf285..551ab0144 100644
--- a/src/net/eathena/playerhandler.cpp
+++ b/src/net/eathena/playerhandler.cpp
@@ -460,11 +460,17 @@ void PlayerHandler::setShortcut(const int idx,
outMsg.writeInt16(CAST_S16(level), "level");
}
-void PlayerHandler::shortcutShiftRow(const int row) const
+void PlayerHandler::shortcutShiftRow(const int row,
+ const int tab) const
{
if (packetVersion < 20140129)
return;
createOutPacket(CMSG_SHORTCUTS_ROW_SHIFT);
+ if (packetVersionMain >= 20190522 ||
+ packetVersionRe >= 20190508)
+ {
+ outMsg.writeInt16(CAST_S16(tab), "tab");
+ }
outMsg.writeInt8(CAST_S8(row), "row");
}