aboutsummaryrefslogtreecommitdiff
path: root/src/itemdef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/itemdef.cpp')
-rw-r--r--src/itemdef.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/itemdef.cpp b/src/itemdef.cpp
index e8de06387..c8771c30c 100644
--- a/src/itemdef.cpp
+++ b/src/itemdef.cpp
@@ -451,7 +451,7 @@ public:
if(def->inventory_texture == NULL)
{
def->inventory_texture =
- tsrc->getTextureRaw(f.tname_tiles[0]);
+ tsrc->getTextureRaw(f.tiledef[0].name);
}
}