From f371ae6da86e3bf770b2a2412f10e12eccf99c63 Mon Sep 17 00:00:00 2001 From: PatrikLundell Date: Wed, 22 Apr 2020 12:38:37 +0200 Subject: [PATCH] adapted to histfig_nemesis_id->union --- library/modules/Units.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/modules/Units.cpp b/library/modules/Units.cpp index 313d6ee9f..dc76c6802 100644 --- a/library/modules/Units.cpp +++ b/library/modules/Units.cpp @@ -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; }