adapted to structures

develop
PatrikLundell 2020-04-22 15:32:49 +02:00
parent f371ae6da8
commit 21be5cf061
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::TrueName:
case df::identity_type::Unk_4: // Pure guess, as this is a new case, still unseen
id_hfig = df::historical_figure::find(identity->figure.historical);
id_hfig = df::historical_figure::find(identity->histfig_id);
break;
}