Print mood item flags if it's an unrecognized body part

develop
Quietust 2012-01-23 16:08:37 -06:00
parent e3f875b9a5
commit 6502f0f6ae
1 changed files with 2 additions and 2 deletions

@ -221,10 +221,10 @@ DFhackCExport command_result df_showmood (Core * c, vector <string> & parameters
else if (item->flags2.bits.ivory_tooth)
c->con.print("%s ivory/teeth", mat_name.c_str());
else
c->con.print("%s unknown body parts", mat_name.c_str());
c->con.print("%s unknown body parts (%08x:%08x:%08x)", mat_name.c_str(), item->flags1.whole, item->flags2.whole, item->flags3.whole);
}
else
c->con.print("indeterminate %s item", mat_name.c_str());
c->con.print("indeterminate %s item (%08x:%08x:%08x)", mat_name.c_str(), item->flags1.whole, item->flags2.whole, item->flags3.whole);
break;
default:
c->con.print("item %s:%s with flags %08x,%08x,%08x",