Update plugins/autoclothing.cpp

Co-authored-by: Myk <myk.taylor@gmail.com>
develop
Rose 2023-02-02 13:33:30 -08:00 committed by GitHub
parent b36e5e1dff
commit 6e200b831e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

@ -818,7 +818,7 @@ static void generate_report(color_ostream& out)
missingGloves[unit->race]++; missingGloves[unit->race]++;
if (numPants == 0) if (numPants == 0)
missingPants[unit->race]++; missingPants[unit->race]++;
DEBUG(report) << Translation::TranslateName(Units::getVisibleName(unit)) << " has " << numArmor << " armor, " << numShoes << " shoes, " << numHelms << " helms, " << numGloves << " gloves, " << numPants << " pants" << endl; DEBUG(report,out) << Translation::TranslateName(Units::getVisibleName(unit)) << " has " << numArmor << " armor, " << numShoes << " shoes, " << numHelms << " helms, " << numGloves << " gloves, " << numPants << " pants" << endl;
} }
if (missingArmor.size() + missingShoes.size() + missingHelms.size() + missingGloves.size() + missingPants.size() == 0) if (missingArmor.size() + missingShoes.size() + missingHelms.size() + missingGloves.size() + missingPants.size() == 0)
{ {