diff options
Diffstat (limited to 'src/dropshortcut.cpp')
-rw-r--r-- | src/dropshortcut.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dropshortcut.cpp b/src/dropshortcut.cpp index 1c860f7d4..0424ef7e8 100644 --- a/src/dropshortcut.cpp +++ b/src/dropshortcut.cpp @@ -56,7 +56,7 @@ void DropShortcut::dropFirst() const if (!localPlayer) return; - if (!PacketLimiter::limitPackets(PACKET_DROP)) + if (!PacketLimiter::limitPackets(PacketType::PACKET_DROP)) return; const int itemId = getItem(0); @@ -101,7 +101,7 @@ void DropShortcut::dropItems(const int cnt) { for (int i = 0; i < sz; i++) { - if (!PacketLimiter::limitPackets(PACKET_DROP)) + if (!PacketLimiter::limitPackets(PacketType::PACKET_DROP)) return; if (dropItem()) n++; |