Fix exportGraphics not checking previously-exported monsters

I'm actually not sure whether this is necessary,
but decided to err on the side of caution
(since check_item does the same thing).
This commit is contained in:
2020-01-19 14:09:42 -05:00
parent 0ffcdf3e5e
commit fa7158de03

View File

@@ -1169,6 +1169,8 @@ void cUniverse::exportGraphics() {
for(mon_num_t monst : party.imprisoned_monst) {
if(monst > 0 && monst < scenario.scen_monsters.size())
check_monst(scenario.scen_monsters[monst]);
else if(monst >= 10000 && monst - 10000 < party.summons.size())
check_monst(party.summons[monst - 10000]);
}
// And then, just add all the graphics, and update references to them
for(auto pic : update_pcs) {