dwarfmonitor: actually display creature names

develop
lethosor 2018-01-18 09:54:33 -05:00
parent 9515a9e4f5
commit 7b16cf1619
1 changed files with 2 additions and 4 deletions

@ -1233,15 +1233,13 @@ struct preference_map
{ {
case (T_type::LikeCreature): case (T_type::LikeCreature):
{ {
label = "Creature :"; label = "Creature :" + Units::getRaceNamePluralById(pref.creature_id);
Units::getRaceNamePluralById(pref.creature_id);
break; break;
} }
case (T_type::HateCreature): case (T_type::HateCreature):
{ {
label = "Hates :"; label = "Hates :" + Units::getRaceNamePluralById(pref.creature_id);
Units::getRaceNamePluralById(pref.creature_id);
break; break;
} }