summaryrefslogtreecommitdiff
path: root/src/gui/shortcut/dropshortcut.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-23 23:18:06 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-23 23:18:06 +0300
commitbe1719093f07d2545a0d6bfe5710e1fc0b93b2f0 (patch)
treef0aec6e92cd2f84b2d0e760f59df23500a34dc33 /src/gui/shortcut/dropshortcut.cpp
parent4c604dc4cc5b6697e2ea4288c13f9f3c84aba912 (diff)
downloadManaVerse-be1719093f07d2545a0d6bfe5710e1fc0b93b2f0.tar.gz
ManaVerse-be1719093f07d2545a0d6bfe5710e1fc0b93b2f0.tar.bz2
ManaVerse-be1719093f07d2545a0d6bfe5710e1fc0b93b2f0.tar.xz
ManaVerse-be1719093f07d2545a0d6bfe5710e1fc0b93b2f0.zip
Remove default parameters from dropshortcut.
Diffstat (limited to 'src/gui/shortcut/dropshortcut.cpp')
-rw-r--r--src/gui/shortcut/dropshortcut.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/shortcut/dropshortcut.cpp b/src/gui/shortcut/dropshortcut.cpp
index f9876ebee..f71c9d5c7 100644
--- a/src/gui/shortcut/dropshortcut.cpp
+++ b/src/gui/shortcut/dropshortcut.cpp
@@ -103,7 +103,7 @@ void DropShortcut::dropItems(const int cnt)
{
if (!PacketLimiter::limitPackets(PacketType::PACKET_DROP))
return;
- if (dropItem())
+ if (dropItem(1))
n++;
}
if (n >= cnt)