Skip to content

Commit

Permalink
adapted to histfig_nemesis_id->union
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrikLundell committed Apr 22, 2020
1 parent 07571e9 commit f371ae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/modules/Units.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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->histfig_nemesis_id);
id_hfig = df::historical_figure::find(identity->figure.historical);
break;
}

Expand Down

0 comments on commit f371ae6

Please sign in to comment.