adapted to histfig_nemesis_id->union

develop
PatrikLundell 2020-04-22 12:38:37 +02:00
parent 07571e9eb4
commit f371ae6da8
1 changed files with 1 additions and 1 deletions

@ -212,7 +212,7 @@ void Units::setNickname(df::unit *unit, std::string nick)
case df::identity_type::Unk_1: // Guess, but that's how it worked in the past case df::identity_type::Unk_1: // Guess, but that's how it worked in the past
case df::identity_type::TrueName: case df::identity_type::TrueName:
case df::identity_type::Unk_4: // Pure guess, as this is a new case, still unseen case df::identity_type::Unk_4: // Pure guess, as this is a new case, still unseen
id_hfig = df::historical_figure::find(identity->histfig_nemesis_id); id_hfig = df::historical_figure::find(identity->figure.historical);
break; break;
} }