minor fix

This commit is contained in:
Emil Kabirov 2018-10-05 02:34:44 +05:00
parent 695f4f7a6d
commit ce905daa85

View File

@ -840,7 +840,7 @@ void TMyApplication::InnerOnMouseMove(TMouseState& mouseState) {
bool TMyApplication::IsLevelOpened(int levelStar, int levelIndex)
{
return levelStar <= currentStar && levelIndex <= currentLevel;
return levelStar < currentStar || levelStar == currentStar && levelIndex <= currentLevel;
}