diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-30 22:15:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-30 22:15:24 +0300 |
commit | d70d41864853924a456595875b6811b74222dd7c (patch) | |
tree | 99485951528734a54cd2f8ad297e76860f7ba9d4 /src/actions/actions.cpp | |
parent | a619290b502486ea5b1ff5dd604864ab78c5edc9 (diff) | |
download | plus-d70d41864853924a456595875b6811b74222dd7c.tar.gz plus-d70d41864853924a456595875b6811b74222dd7c.tar.bz2 plus-d70d41864853924a456595875b6811b74222dd7c.tar.xz plus-d70d41864853924a456595875b6811b74222dd7c.zip |
Fix code style.
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r-- | src/actions/actions.cpp | 8 |
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; |