Add a check to the histfig fix and tweak NEWS.

develop
expwnent 2016-03-10 08:50:03 -05:00
parent fd132d3fe7
commit f8ff447cb5
2 changed files with 2 additions and 3 deletions

@ -70,6 +70,7 @@ New Features
Fixes
-----
- Fixed a crash bug caused by the historical figures DFHack uses to store persistent data.
- More plugins should recognize non-dwarf citizens
- Fixed a possible crash from cloning jobs
- `confirm` note-delete: No longer interferes with name entry
@ -89,8 +90,6 @@ Fixes
- `showmood`: Fixed name display on OS X/Linux
- Fixed a crash bug caused by the historical figures DFHack uses to store persistent data.
Misc Improvements
-----------------
- `autolabor`, `autohauler`, `manipulator`: Added support for new jobs/labors/skills

@ -299,7 +299,7 @@ void DFHack::EventManager::onStateChange(color_ostream& out, state_change_event
}
for ( size_t a = 0; a < df::global::world->history.figures.size(); a++ ) {
df::historical_figure* unit = df::global::world->history.figures[a];
if ( unit->name.language < 0 )
if ( unit->id < 0 && unit->name.language < 0 )
unit->name.language = 0;
}