diff options
| author | Quietust | 2012-01-27 21:36:01 -0600 |
|---|---|---|
| committer | Quietust | 2012-01-27 21:36:01 -0600 |
| commit | 116e5d60be2c52930a6447ec7e76c8f7807fe261 (patch) | |
| tree | 6c83d3b3a95e5f7bf665d2937820a6a784a4f992 /plugins/showmood.cpp | |
| parent | 331be2c821a01ae4e49cac538c13936af085a03a (diff) | |
| download | dfhack-116e5d60be2c52930a6447ec7e76c8f7807fe261.tar.gz dfhack-116e5d60be2c52930a6447ec7e76c8f7807fe261.tar.bz2 dfhack-116e5d60be2c52930a6447ec7e76c8f7807fe261.tar.xz | |
Update Translation::TranslateName to include the first name, plus have it follow the init setting for nickname display (in Dwarf mode)
Diffstat (limited to 'plugins/showmood.cpp')
| -rw-r--r-- | plugins/showmood.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/showmood.cpp b/plugins/showmood.cpp index dad10efa..25bc4361 100644 --- a/plugins/showmood.cpp +++ b/plugins/showmood.cpp @@ -61,7 +61,7 @@ DFhackCExport command_result df_showmood (Core * c, vector <string> & parameters c->con.printerr("Dwarf with strange mood does not have a mood type!\n"); continue; } - c->con.print("%s %s is currently ", unit->name.first_name.c_str(), Translation::TranslateName(&unit->name, false).c_str()); + c->con.print("%s is currently ", Translation::TranslateName(&unit->name, false).c_str()); switch (unit->mood) { case mood_type::Macabre: |
