mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-10 21:40:15 +00:00
Clang'd
This commit is contained in:
parent
6e03d710ba
commit
64e55b37ec
@ -92,7 +92,8 @@ namespace MWGui
|
||||
}
|
||||
}
|
||||
|
||||
MWWorld::Ptr InventoryItemModel::moveItem(const ItemStack& item, size_t count, ItemModel* otherModel, bool allowAutoEquip)
|
||||
MWWorld::Ptr InventoryItemModel::moveItem(
|
||||
const ItemStack& item, size_t count, ItemModel* otherModel, bool allowAutoEquip)
|
||||
{
|
||||
// Can't move conjured items: This is a general fix that also takes care of issues with taking conjured items
|
||||
// via the 'Take All' button.
|
||||
|
@ -22,7 +22,8 @@ namespace MWGui
|
||||
void removeItem(const ItemStack& item, size_t count) override;
|
||||
|
||||
/// Move items from this model to \a otherModel.
|
||||
MWWorld::Ptr moveItem(const ItemStack& item, size_t count, ItemModel* otherModel, bool allowAutoEquip = true) override;
|
||||
MWWorld::Ptr moveItem(
|
||||
const ItemStack& item, size_t count, ItemModel* otherModel, bool allowAutoEquip = true) override;
|
||||
|
||||
void update() override;
|
||||
|
||||
|
@ -63,7 +63,8 @@ namespace MWGui
|
||||
|
||||
/// Move items from this model to \a otherModel.
|
||||
/// @note Derived implementations may return an empty Ptr if the move was unsuccessful.
|
||||
virtual MWWorld::Ptr moveItem(const ItemStack& item, size_t count, ItemModel* otherModel, bool allowAutoEquip = true);
|
||||
virtual MWWorld::Ptr moveItem(
|
||||
const ItemStack& item, size_t count, ItemModel* otherModel, bool allowAutoEquip = true);
|
||||
|
||||
/// Unstacks items from this model and returns a ptr to the new remainder stack.
|
||||
/// @note Returns en empty ptr if there is no remainder or the item model does not support unstacking.
|
||||
|
Loading…
x
Reference in New Issue
Block a user