Hopefully fix CI linux build

develop
John Cosker 2023-02-08 22:25:35 -05:00
parent 5e09a1cbf1
commit fed3b4ddb4
1 changed files with 5 additions and 1 deletions

@ -213,7 +213,7 @@ static void checkslabs(color_ostream &out)
if (histToJob.count(ghost->hist_figure_id) == 0 &&
!std::any_of(engravedSlabs.begin(),
engravedSlabs.end(),
[&ghost](const auto &slab){
[&ghost](df::item *slab){
auto slabst = virtual_cast<df::item_slabst>(slab);
return slabst->topic == ghost->hist_figure_id;
})
@ -223,6 +223,10 @@ static void checkslabs(color_ostream &out)
auto fullName = get_first_name(ghost) + " " + get_last_name(ghost);
out.print("Added slab order for ghost %s\n", fullName.c_str());
}
else {
auto fullName = get_first_name(ghost) + " " + get_last_name(ghost);
out.print("%s doesn't need slab\n", fullName.c_str());
}
}
}