minor fix
This commit is contained in:
parent
695f4f7a6d
commit
ce905daa85
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user