2
0
Laserlicht 3 сар өмнө
parent
commit
07a62e28b9

+ 4 - 4
client/windows/CSpellWindow.cpp

@@ -60,11 +60,11 @@ static const std::array schoolTabOrder =
 
 int getAnimFrameFromSchool(SpellSchool school)
 {
-    auto it = std::find(schoolTabOrder.begin(), schoolTabOrder.end(), school);
-    if (it != schoolTabOrder.end())
-        return std::distance(schoolTabOrder.begin(), it);
+	auto it = std::find(schoolTabOrder.begin(), schoolTabOrder.end(), school);
+	if (it != schoolTabOrder.end())
+		return std::distance(schoolTabOrder.begin(), it);
 	else
-        return -1;
+		return -1;
 }
 
 bool isLegacySpellSchool(SpellSchool school)