diff options
| author | Petr Mrázek | 2011-10-25 13:30:41 +0200 |
|---|---|---|
| committer | Petr Mrázek | 2011-10-25 13:30:41 +0200 |
| commit | 866b63f567bb6f464a6d0c4d52a4796f7aecdc7f (patch) | |
| tree | dc00231fae356f86cbce8dca08af0d29a4c1feda /plugins/cleanowned.cpp | |
| parent | 8648b2f08052a31ea1d214af4953953d1b861a64 (diff) | |
| download | dfhack-866b63f567bb6f464a6d0c4d52a4796f7aecdc7f.tar.gz dfhack-866b63f567bb6f464a6d0c4d52a4796f7aecdc7f.tar.bz2 dfhack-866b63f567bb6f464a6d0c4d52a4796f7aecdc7f.tar.xz | |
More of the items overhaul
Diffstat (limited to 'plugins/cleanowned.cpp')
| -rw-r--r-- | plugins/cleanowned.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/cleanowned.cpp b/plugins/cleanowned.cpp index d3c7cc89..b51c870e 100644 --- a/plugins/cleanowned.cpp +++ b/plugins/cleanowned.cpp @@ -165,10 +165,12 @@ DFhackCExport command_result df_cleanowned (Core * c, vector <string> & paramete if (confiscate) { + std::string description; + itm.base->getItemDescription(&description, 0); c->con.print( "0x%x %s (wear %d)", itm.base, - Items->getItemDescription(itm, Materials).c_str(), + description.c_str(), itm.wear_level ); |
