Fix Classify Custom Graphics wrongly claiming you don't have any

This commit is contained in:
2020-02-05 23:48:36 -05:00
parent 0bf41cb172
commit 805b35ec90

View File

@@ -45,7 +45,7 @@ graf_pos cCustomGraphics::find_graphic(pic_num_t which_rect, bool party) {
}
size_t cCustomGraphics::count(bool party) {
if(!party && !sheets.empty()) return 0;
if(!party && sheets.empty()) return 0;
else if(party && party_sheet == nullptr) return 0;
else if(is_old || party) {
rectangle bounds(party ? *party_sheet : *sheets[0]);