aboutsummaryrefslogtreecommitdiff
path: root/src/nodedef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/nodedef.cpp')
-rw-r--r--src/nodedef.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nodedef.cpp b/src/nodedef.cpp
index bb08871df..8506d95aa 100644
--- a/src/nodedef.cpp
+++ b/src/nodedef.cpp
@@ -216,7 +216,8 @@ void ContentFeatures::deSerialize(std::istream &is, IGameDef *gamedef)
if(readU8(is) != 6)
throw SerializationError("unsupported tile count");
for(u32 i=0; i<6; i++)
- tname_tiles[i] = deSerializeString(is);
+ setTexture(i, deSerializeString(is));
+ //tname_tiles[i] = deSerializeString(is);
tname_inventory = deSerializeString(is);
if(readU8(is) != CF_SPECIAL_COUNT)
throw SerializationError("unsupported CF_SPECIAL_COUNT");