X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Finventory.h;h=a690eb5ae29d825b4635888d23d1a0aa407fb738;hb=65c09a96f41705bb8e75fc5ff4276342be91ed11;hp=e3c994fc3db9f8eb6f97379c1b5b62cc4ec17b4e;hpb=2c1fd29884adec17564d39c0f7792633cbc55f9a;p=minetest.git diff --git a/src/inventory.h b/src/inventory.h index e3c994fc3..a690eb5ae 100644 --- a/src/inventory.h +++ b/src/inventory.h @@ -246,7 +246,7 @@ class InventoryList // count is the maximum number of items to move (0 for everything) // returns number of moved items u32 moveItem(u32 i, InventoryList *dest, u32 dest_i, - u32 count = 0, bool swap_if_needed = true); + u32 count = 0, bool swap_if_needed = true, bool *did_swap = NULL); // like moveItem, but without a fixed destination index // also with optional rollback recording