summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/inventory.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inventory.cpp b/src/inventory.cpp
index 66101b831..056cf552d 100644
--- a/src/inventory.cpp
+++ b/src/inventory.cpp
@@ -251,6 +251,7 @@ void ItemStack::deSerialize(std::istream &is, IItemDefManager *itemdef)
count = 1;
// Then read wear
fnd.skip_over(" ");
+ name = itemdef->getAlias(name);
wear = stoi(trim(fnd.next("")));
}
else