From a9c8ad9ce2b2655304fe8224365c4670a378a771 Mon Sep 17 00:00:00 2001 From: Alexander Lyons Harkness Date: Thu, 21 Dec 2017 16:01:24 +0000 Subject: [PATCH] Fix typo in #4095. The build was being broken. --- src/Inventory.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Inventory.cpp b/src/Inventory.cpp index c7b1e4f28..9cfc17452 100644 --- a/src/Inventory.cpp +++ b/src/Inventory.cpp @@ -793,10 +793,9 @@ void cInventory::OnSlotChanged(cItemGrid * a_ItemGrid, int a_SlotNum) { Base = invHotbarOffset; } - else if (a_ItemGrid = &m_ShieldSlots) + else if (a_ItemGrid == &m_ShieldSlots) { Base = invShieldOffset; - } else {