aboutsummaryrefslogtreecommitdiff
path: root/src/mapnode.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-06-27 08:46:54 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-06-27 08:46:54 +0300
commitccf5eae7512d3b6601fb056fd8781f5954b09e25 (patch)
treee460728abb547a22b3a715db13343fffaf6c1e96 /src/mapnode.h
parent3e40235ce20e87d803c946bb7085471ef542f668 (diff)
downloadminetest-ccf5eae7512d3b6601fb056fd8781f5954b09e25.tar.xz
fixed bug in inventory textures caused from better handling of unknown blocks
Diffstat (limited to 'src/mapnode.h')
-rw-r--r--src/mapnode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mapnode.h b/src/mapnode.h
index d975a50c4..eb4b17e48 100644
--- a/src/mapnode.h
+++ b/src/mapnode.h
@@ -194,6 +194,8 @@ struct ContentFeatures
{
setTexture(i, name, alpha);
}
+ // Force inventory texture too
+ setInventoryTexture(name);
}
void setTile(u16 i, const TileSpec &tile)