fix up cleanowned status message

print unit id instead of raw pointer and display "wear level" instead of
just "wear"
develop
myk002 2022-11-20 16:03:08 -08:00
parent ff447d46bd
commit 5967e5c9e0
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 2 additions and 2 deletions

@ -147,8 +147,8 @@ command_result df_cleanowned (color_ostream &out, vector <string> & parameters)
std::string description; std::string description;
item->getItemDescription(&description, 0); item->getItemDescription(&description, 0);
out.print( out.print(
"%p %s (wear %d)", "[%d] %s (wear level %d)",
item, item->id,
description.c_str(), description.c_str(),
item->getWear() item->getWear()
); );