Manipulator - take false identities into account

develop
Quietust 2012-10-07 17:35:41 -05:00
parent 459c69046b
commit ab90e3eefe
1 changed files with 2 additions and 2 deletions

@ -443,8 +443,8 @@ void viewscreen_unitlaborsst::refreshNames()
UnitInfo *cur = units[i]; UnitInfo *cur = units[i];
df::unit *unit = cur->unit; df::unit *unit = cur->unit;
cur->name = Translation::TranslateName(&unit->name, false); cur->name = Translation::TranslateName(Units::getVisibleName(unit), false);
cur->transname = Translation::TranslateName(&unit->name, true); cur->transname = Translation::TranslateName(Units::getVisibleName(unit), true);
cur->profession = Units::getProfessionName(unit); cur->profession = Units::getProfessionName(unit);
} }
calcSize(); calcSize();