Actually write the noble penalty to the dwarf_info structure....

develop
Kelly Martin 2012-04-26 12:54:10 -05:00
parent c0c790f58c
commit 53e0ba8b8d
1 changed files with 1 additions and 0 deletions

@ -784,6 +784,7 @@ DFhackCExport command_result plugin_onupdate ( color_ostream &out )
dwarf_info[dwarf].medical = true;
}
dwarf_info[dwarf].noble_penalty = noble_penalty;
}
for (auto s = dwarfs[dwarf]->status.souls[0]->skills.begin(); s != dwarfs[dwarf]->status.souls[0]->skills.end(); s++)