From 7b16cf16199e1f4d3cc3c2334af688e598ad554e Mon Sep 17 00:00:00 2001 From: lethosor Date: Thu, 18 Jan 2018 09:54:33 -0500 Subject: [PATCH] dwarfmonitor: actually display creature names --- plugins/dwarfmonitor.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/plugins/dwarfmonitor.cpp b/plugins/dwarfmonitor.cpp index 79211fabd..b715f6351 100644 --- a/plugins/dwarfmonitor.cpp +++ b/plugins/dwarfmonitor.cpp @@ -1233,15 +1233,13 @@ struct preference_map { case (T_type::LikeCreature): { - label = "Creature :"; - Units::getRaceNamePluralById(pref.creature_id); + label = "Creature :" + Units::getRaceNamePluralById(pref.creature_id); break; } case (T_type::HateCreature): { - label = "Hates :"; - Units::getRaceNamePluralById(pref.creature_id); + label = "Hates :" + Units::getRaceNamePluralById(pref.creature_id); break; }