aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/inventory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inventory.cpp b/src/inventory.cpp
index 1f55c5305..4b1beb230 100644
--- a/src/inventory.cpp
+++ b/src/inventory.cpp
@@ -882,7 +882,7 @@ bool Inventory::operator == (const Inventory &other) const
for(u32 i=0; i<m_lists.size(); i++)
{
- if(m_lists[i] != other.m_lists[i])
+ if(*m_lists[i] != *other.m_lists[i])
return false;
}
return true;