summaryrefslogtreecommitdiff
path: root/src/actions/actions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r--src/actions/actions.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index 2cff275f5..036f107b8 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -726,7 +726,7 @@ impHandler(attack)
return true;
}
-impHandler0(targetAttack)
+impHandler(targetAttack)
{
if (localPlayer && actorManager)
{
@@ -1439,7 +1439,8 @@ impHandler(useItemInv)
impHandler(invToStorage)
{
Item *item = nullptr;
- const int amount = getAmountFromEvent(event, item, InventoryType::INVENTORY);
+ const int amount = getAmountFromEvent(event, item,
+ InventoryType::INVENTORY);
if (amount)
{
inventoryHandler->moveItem2(InventoryType::INVENTORY,
@@ -1458,7 +1459,8 @@ impHandler(invToStorage)
impHandler(tradeAdd)
{
Item *item = nullptr;
- const int amount = getAmountFromEvent(event, item, InventoryType::INVENTORY);
+ const int amount = getAmountFromEvent(event, item,
+ InventoryType::INVENTORY);
if (!item || PlayerInfo::isItemProtected(item->getId()))
return true;