diff options
author | Alexander Lyons Harkness <me@bearbin.net> | 2017-12-21 17:01:24 +0100 |
---|---|---|
committer | Alexander Lyons Harkness <me@bearbin.net> | 2017-12-21 17:01:24 +0100 |
commit | a9c8ad9ce2b2655304fe8224365c4670a378a771 (patch) | |
tree | 4e6f7326d2d7863b97602dd62d27aecd24bcecdf /src | |
parent | NetworkLookup: Added "virtual" keyword to overridden dtor. (#4100) (diff) | |
download | cuberite-a9c8ad9ce2b2655304fe8224365c4670a378a771.tar cuberite-a9c8ad9ce2b2655304fe8224365c4670a378a771.tar.gz cuberite-a9c8ad9ce2b2655304fe8224365c4670a378a771.tar.bz2 cuberite-a9c8ad9ce2b2655304fe8224365c4670a378a771.tar.lz cuberite-a9c8ad9ce2b2655304fe8224365c4670a378a771.tar.xz cuberite-a9c8ad9ce2b2655304fe8224365c4670a378a771.tar.zst cuberite-a9c8ad9ce2b2655304fe8224365c4670a378a771.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/Inventory.cpp | 3 |
1 files changed, 1 insertions, 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 { |