Fix clang warning

This commit is contained in:
Benau 2018-10-07 12:14:22 +08:00
parent 0297859eca
commit 15c41ceaaf

View File

@ -161,7 +161,7 @@ int AchievementInfo::getRecursiveDepth(goalTree &parent)
for (unsigned int i=0;i<parent.children.size();i++) for (unsigned int i=0;i<parent.children.size();i++)
{ {
int depth = getRecursiveDepth(parent.children[i]); int depth = getRecursiveDepth(parent.children[i]);
if (depth > max); if (depth > max)
max = depth; max = depth;
} }
return max+1; return max+1;