From 1fadf7f21eb5fd7a09037d92f87cd0154e9306c1 Mon Sep 17 00:00:00 2001 From: est31 Date: Wed, 19 Aug 2015 02:28:37 +0200 Subject: Fix inventory replace bug --- src/inventory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/inventory.h') 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 @@ public: // 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 -- cgit v1.2.3