From 74daa6bced39878b8e9ab16f98a7a409c3f6b329 Mon Sep 17 00:00:00 2001 From: JapaMala Date: Sat, 27 Apr 2019 11:20:36 -0500 Subject: [PATCH] add missing parentheses. --- plugins/autoclothing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()] --; } } }