summaryrefslogtreecommitdiff
path: root/src/dropshortcut.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dropshortcut.cpp')
-rw-r--r--src/dropshortcut.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dropshortcut.cpp b/src/dropshortcut.cpp
index c31241409..ef67fca12 100644
--- a/src/dropshortcut.cpp
+++ b/src/dropshortcut.cpp
@@ -179,7 +179,8 @@ bool DropShortcut::dropItem(int cnt)
}
if (itemId > 0)
{
- Item *item = PlayerInfo::getInventory()->findItem(itemId, itemColor);
+ Item *item = PlayerInfo::getInventory()->findItem(
+ itemId, itemColor);
if (item && item->getQuantity() > 0)
{
Net::getInventoryHandler()->dropItem(item, cnt);