summaryrefslogtreecommitdiff
path: root/src/dropshortcut.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dropshortcut.cpp')
-rw-r--r--src/dropshortcut.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dropshortcut.cpp b/src/dropshortcut.cpp
index 87e992b78..325014823 100644
--- a/src/dropshortcut.cpp
+++ b/src/dropshortcut.cpp
@@ -98,7 +98,7 @@ void DropShortcut::dropFirst() const
if (!player_node)
return;
- if (!Client::limitPackets(PACKET_DROP))
+ if (!client->limitPackets(PACKET_DROP))
return;
const int itemId = getItem(0);
@@ -143,7 +143,7 @@ void DropShortcut::dropItems(const int cnt)
{
for (int i = 0; i < sz; i++)
{
- if (!Client::limitPackets(PACKET_DROP))
+ if (!client->limitPackets(PACKET_DROP))
return;
if (dropItem())
n++;