summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);