Laserlicht 3 月之前
父节点
当前提交
07a62e28b9
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      client/windows/CSpellWindow.cpp

+ 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)