From 64996422c00ddb70cfc8aee7da7b62485b8b0416 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 13 Nov 2011 10:57:55 +0200 Subject: Move ContentFeatures to mapnode_contentfeatures.{h,cpp} and clean stuff --- src/inventory.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/inventory.h') diff --git a/src/inventory.h b/src/inventory.h index dc5b04ff7..c202d5533 100644 --- a/src/inventory.h +++ b/src/inventory.h @@ -151,10 +151,7 @@ public: return new MaterialItem(m_content, m_count); } #ifndef SERVER - video::ITexture * getImage() const - { - return content_features(m_content).inventory_texture; - } + video::ITexture * getImage() const; #endif std::string getText() { -- cgit v1.2.3