summaryrefslogtreecommitdiff
path: root/src/actions/actions.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-13 16:08:08 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-13 16:08:08 +0300
commitc7833cb8a08cf705e9e67124d746f6f7af2e93c3 (patch)
treee65db9529ff46399acf7474994a626318e2c4f5f /src/actions/actions.cpp
parent08515585ad0da5ac515c6ad6ac5e49e2362dadb7 (diff)
downloadmanaverse-c7833cb8a08cf705e9e67124d746f6f7af2e93c3.tar.gz
manaverse-c7833cb8a08cf705e9e67124d746f6f7af2e93c3.tar.bz2
manaverse-c7833cb8a08cf705e9e67124d746f6f7af2e93c3.tar.xz
manaverse-c7833cb8a08cf705e9e67124d746f6f7af2e93c3.zip
Remove chat command variation invtostorage*.
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r--src/actions/actions.cpp54
1 files changed, 0 insertions, 54 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index dce003cc0..db2a864e5 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -1435,58 +1435,4 @@ impHandler(invToStorage)
return true;
}
-impHandler(invToStorage10)
-{
- Item *const item = getItemByInvIndex(event);
- if (!item)
- return true;
-
- int cnt = 10;
- if (cnt > item->getQuantity())
- cnt = item->getQuantity();
- inventoryHandler->moveItem2(Inventory::INVENTORY,
- item->getInvIndex(), cnt,
- Inventory::STORAGE);
- return true;
-}
-
-impHandler(invToStorageHalf)
-{
- Item *const item = getItemByInvIndex(event);
- if (!item)
- return true;
-
- inventoryHandler->moveItem2(Inventory::INVENTORY,
- item->getInvIndex(),
- item->getQuantity() / 2,
- Inventory::STORAGE);
- return true;
-}
-
-impHandler(invToStorageAll1)
-{
- Item *const item = getItemByInvIndex(event);
- if (!item)
- return true;
-
- inventoryHandler->moveItem2(Inventory::INVENTORY,
- item->getInvIndex(),
- item->getQuantity() - 1,
- Inventory::STORAGE);
- return true;
-}
-
-impHandler(invToStorageAll)
-{
- Item *const item = getItemByInvIndex(event);
- if (!item)
- return true;
-
- inventoryHandler->moveItem2(Inventory::INVENTORY,
- item->getInvIndex(),
- item->getQuantity(),
- Inventory::STORAGE);
- return true;
-}
-
} // namespace Actions