aboutsummaryrefslogtreecommitdiff
path: root/src/inventory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/inventory.h')
-rw-r--r--src/inventory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inventory.h b/src/inventory.h
index cb5b54851..59ff89ed8 100644
--- a/src/inventory.h
+++ b/src/inventory.h
@@ -96,7 +96,7 @@ public:
if(m_content >= USEFUL_CONTENT_COUNT)
return NULL;
- return g_texturecache.get(g_content_inventory_textures[m_content]);
+ return g_irrlicht->getTexture(g_content_inventory_textures[m_content]);
}
#endif
std::string getText()