From 00bc9a8678e8ddbe305f0f2d8dc36334b6733ef7 Mon Sep 17 00:00:00 2001 From: Kahrl Date: Sun, 22 Jan 2012 15:13:00 +0100 Subject: [PATCH] tool and ToolItem apply item aliases --- src/inventory.cpp | 1 + 1 file changed, 1 insertion(+) 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