summaryrefslogtreecommitdiff
path: root/src/dropshortcut.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-06-06 23:47:06 +0300
committerAndrei Karas <akaras@inbox.ru>2011-06-06 23:47:06 +0300
commit26aea9cab992944ae2db593cb948d51afa12846f (patch)
tree339eec03e83e359f7a7cc7c6cbf6142f9777e5bb /src/dropshortcut.cpp
parent0c3770d8aec1b56ad704e88d6e6d510ddc4af9a1 (diff)
downloadManaVerse-26aea9cab992944ae2db593cb948d51afa12846f.tar.gz
ManaVerse-26aea9cab992944ae2db593cb948d51afa12846f.tar.bz2
ManaVerse-26aea9cab992944ae2db593cb948d51afa12846f.tar.xz
ManaVerse-26aea9cab992944ae2db593cb948d51afa12846f.zip
Fix code style.
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);