From: Perttu Ahola Date: Thu, 1 Dec 2011 11:01:37 +0000 (+0200) Subject: Remove +"^[forcesingle" from ContentFeatures::setInventoryTexture, because 1) it... X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=0e113a4c811e8772924a7f0a842d448e196a3d8f;p=zefram%2Fminetest%2Fminetest_engine.git Remove +"^[forcesingle" from ContentFeatures::setInventoryTexture, because 1) it was not used, 2) if it will be used, it won't need to do that anymore --- diff --git a/src/nodedef.cpp b/src/nodedef.cpp index 8506d95a..f8420c22 100644 --- a/src/nodedef.cpp +++ b/src/nodedef.cpp @@ -281,7 +281,7 @@ void ContentFeatures::setSpecialMaterial(u16 i, const MaterialSpec &mspec) void ContentFeatures::setInventoryTexture(std::string imgname) { - tname_inventory = imgname + "^[forcesingle"; + tname_inventory = imgname; } void ContentFeatures::setInventoryTextureCube(std::string top,