diff options
Diffstat (limited to 'src/inventorymanager.cpp')
-rw-r--r-- | src/inventorymanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inventorymanager.cpp b/src/inventorymanager.cpp index 7486cc419..ed18126d0 100644 --- a/src/inventorymanager.cpp +++ b/src/inventorymanager.cpp @@ -727,9 +727,9 @@ void ICraftAction::apply(InventoryManager *mgr, ServerActiveObject *player, IGam ItemStack crafted; ItemStack craftresultitem; int count_remaining = count; - bool found = getCraftingResult(inv_craft, crafted, false, gamedef); + getCraftingResult(inv_craft, crafted, false, gamedef); PLAYER_TO_SA(player)->item_CraftPredict(crafted, player, list_craft, craft_inv); - found = !crafted.empty(); + bool found = !crafted.empty(); while(found && list_craftresult->itemFits(0, crafted)) { |