diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-20 21:42:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-20 21:53:56 +0300 |
commit | f3511bcf5aac7a46958f9cdf1649be976679d257 (patch) | |
tree | 4f8557315cc9ffdc2347ef8a09c6ea9890f7bb2f /src/actions/actions.cpp | |
parent | a4dc0e9c2b9aff1f2d6f131f263f809ee254443b (diff) | |
download | manaverse-f3511bcf5aac7a46958f9cdf1649be976679d257.tar.gz manaverse-f3511bcf5aac7a46958f9cdf1649be976679d257.tar.bz2 manaverse-f3511bcf5aac7a46958f9cdf1649be976679d257.tar.xz manaverse-f3511bcf5aac7a46958f9cdf1649be976679d257.zip |
Fix code style.
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r-- | src/actions/actions.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index b76b64108..fc45b440f 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -247,10 +247,19 @@ static Item *getItemByInvIndex(const InputEvent &event, inv = PlayerInfo::getStorageInventory(); break; - default: case InventoryType::Inventory: inv = PlayerInfo::getInventory(); break; + case InventoryType::Trade: + case InventoryType::Npc: +#ifdef EATHENA_SUPPORT + case InventoryType::Cart: + case InventoryType::Vending: + case InventoryType::Mail: +#endif + case InventoryType::TypeEnd: + default: + break; } if (inv) return inv->getItem(index); |