diff --git a/plugins/autoclothing.cpp b/plugins/autoclothing.cpp index 6abca667c..b340585a6 100644 --- a/plugins/autoclothing.cpp +++ b/plugins/autoclothing.cpp @@ -212,7 +212,7 @@ static void remove_available_clothing() if (!matInfo.matches(clothingOrder.material_category)) continue; - clothingOrder.total_needed_per_race[item->getMakerRace] --; + clothingOrder.total_needed_per_race[item->getMakerRace()] --; } } }