From 626ed6338aa90eb07038adee29643e692fec6545 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Tue, 14 Dec 2010 00:21:18 +0200 Subject: in before messing with face drawing orientation --- src/inventory.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/inventory.h') diff --git a/src/inventory.h b/src/inventory.h index cc6393d43..1fab9d027 100644 --- a/src/inventory.h +++ b/src/inventory.h @@ -86,7 +86,8 @@ public: } video::ITexture * getImage() { - return g_materials[m_material].getTexture(0); + u16 tile = content_tile(m_material, v3s16(1,0,0)); + return g_tile_materials[tile].getTexture(0); } std::string getText() { -- cgit v1.2.3