From 6f6f289db4a14045b1053b065e9bbac3d3cb0f33 Mon Sep 17 00:00:00 2001 From: Kahrl Date: Sat, 11 Jan 2014 11:17:15 +0100 Subject: [PATCH] Compare values instead of pointers in Inventory::operator== --- src/inventory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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