From: Kahrl Date: Sat, 11 Jan 2014 10:17:15 +0000 (+0100) Subject: Compare values instead of pointers in Inventory::operator== X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=6f6f289db4a14045b1053b065e9bbac3d3cb0f33;p=zefram%2Fminetest%2Fminetest_engine.git Compare values instead of pointers in Inventory::operator== --- diff --git a/src/inventory.cpp b/src/inventory.cpp index 1f55c530..4b1beb23 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