From 24210cbd6f6aa4646472bb813435ed2a1490f4a5 Mon Sep 17 00:00:00 2001 From: Nounours Heureux Date: Sun, 7 Jun 2015 15:21:41 +0200 Subject: Fixed style --- src/CraftingRecipes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/CraftingRecipes.cpp b/src/CraftingRecipes.cpp index f37d52779..c6a407d4b 100644 --- a/src/CraftingRecipes.cpp +++ b/src/CraftingRecipes.cpp @@ -168,7 +168,7 @@ void cCraftingGrid::ConsumeGrid(const cCraftingGrid & a_Grid) m_Items[ThisIdx].m_ItemCount -= NumWantedItems; if (m_Items[ThisIdx].m_ItemCount == 0) { - if (m_Items[ThisIdx].m_ItemType == E_ITEM_MILK || m_Items[ThisIdx].m_ItemType == E_ITEM_WATER_BUCKET || m_Items[ThisIdx].m_ItemType == E_ITEM_LAVA_BUCKET) + if ((m_Items[ThisIdx].m_ItemType == E_ITEM_MILK) || (m_Items[ThisIdx].m_ItemType == E_ITEM_WATER_BUCKET) || (m_Items[ThisIdx].m_ItemType == E_ITEM_LAVA_BUCKET)) { m_Items[ThisIdx] = cItem(E_ITEM_BUCKET, m_Items[ThisIdx].m_ItemCount); } -- cgit v1.2.3