From: Kahrl Date: Sat, 11 Jan 2014 10:17:15 +0000 (+0100) Subject: Compare values instead of pointers in Inventory::operator== X-Git-Tag: 0.4.10~326 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6f6f289db4a14045b1053b065e9bbac3d3cb0f33;p=oweals%2Fminetest.git Compare values instead of pointers in Inventory::operator== --- 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