Merge pull request #832 from sv-esk/job

fix job-duplicate bug (ignoring cloned jobs with posting_index)
develop
Lethosor 2016-03-03 15:55:06 -05:00
commit 4fd9506989
1 changed files with 1 additions and 0 deletions

@ -71,6 +71,7 @@ df::job *DFHack::Job::cloneJobStruct(df::job *job, bool keepEverything)
pnew->flags.bits.suspend = job->flags.bits.suspend;
pnew->completion_timer = -1;
pnew->posting_index = -1;
}
pnew->list_link = NULL;